Bug 293071
| Summary: | Remove call to deprecated NSImage setScalesWhenResized | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> |
| Component: | New Bugs | Assignee: | 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
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
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
Pull request: https://github.com/WebKit/WebKit/pull/45451
EWS
Committed 295016@main (3dca764a60a9): <https://commits.webkit.org/295016@main>
Reviewed commits have been landed. Closing PR #45451 and removing active labels.