Bug 293071

Summary: Remove call to deprecated NSImage setScalesWhenResized
Product: WebKit Reporter: Brent Fulgham <bfulgham>
Component: New BugsAssignee: Brent Fulgham <bfulgham>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Brent Fulgham
Reported 2025-05-15 15:31:17 PDT
The NSImage method `setScalesWhenResized:` has been deprecated since macOS 10.6. The deprecation notes indicate: "You should be able to remove use of this method without any replacement. See 10.6 AppKit release notes for details." <rdar://15139760>
Attachments
Brent Fulgham
Comment 1 2025-05-15 15:33:28 PDT
Release notes: "setScalesWhenResized: Sets whether different-sized image representations are scaled to fit the receiver's size. (Deprecated in Mac OS X v10.6. This method was related to caching behavior. In Mac OS X v10.6 and later image caching is no long necessary and as a result there is no replacement necessary.)"
Brent Fulgham
Comment 2 2025-05-15 15:53:16 PDT
EWS
Comment 3 2025-05-16 10:38:35 PDT
Committed 295016@main (3dca764a60a9): <https://commits.webkit.org/295016@main> Reviewed commits have been landed. Closing PR #45451 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.