Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3dca764a60a96c806398c18e0b48386895e4a786
https://github.com/WebKit/WebKit/commit/3dca764a60a96c806398c18e0b48386895e4a786
Author: Brent Fulgham <[email protected]>
Date: 2025-05-16 (Fri, 16 May 2025)
Changed paths:
M Source/WebCore/platform/cocoa/DragImageCocoa.mm
Log Message:
-----------
Remove call to deprecated NSImage setScalesWhenResized
https://bugs.webkit.org/show_bug.cgi?id=293071
<rdar://15139760>
Reviewed by Wenson Hsieh.
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."
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.)"
* Source/WebCore/platform/cocoa/DragImageCocoa.mm:
(WebCore::scaleDragImage):
Canonical link: https://commits.webkit.org/295016@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes