WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
293071
Remove call to deprecated NSImage setScalesWhenResized
https://bugs.webkit.org/show_bug.cgi?id=293071
Summary
Remove call to deprecated NSImage setScalesWhenResized
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
Add attachment
proposed patch, testcase, etc.
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
Pull request:
https://github.com/WebKit/WebKit/pull/45451
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.
Top of Page
Format For Printing
XML
Clone This Bug