Bug 293240
| Summary: | Remove all calls 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
I removed on use of the deprecated `setScalesWhenResized:` call in Bug 293071. I failed to search the codebase for other instances, and missed several others.
We should remove them, too.
The NSImage method `setScalesWhenResized:` has been deprecated since macOS 10.6.
"You should be able to remove use of this method without any replacement. See 10.6
AppKit release notes for details."
<https://developer.apple.com/documentation/appkit/nsimage/setscaleswhenresized:>
The AppKit (for 10.6) notes indicate:
"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.)"
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/151628981>
Brent Fulgham
Pull request: https://github.com/WebKit/WebKit/pull/45601
EWS
Committed 295233@main (04842bc8c686): <https://commits.webkit.org/295233@main>
Reviewed commits have been landed. Closing PR #45601 and removing active labels.