Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 04842bc8c6862d866322643210e793aaddcd1238
      
https://github.com/WebKit/WebKit/commit/04842bc8c6862d866322643210e793aaddcd1238
  Author: Brent Fulgham <[email protected]>
  Date:   2025-05-21 (Wed, 21 May 2025)

  Changed paths:
    M Source/WebKitLegacy/mac/Misc/WebNSImageExtras.m
    M Source/WebKitLegacy/mac/WebCoreSupport/WebFrameLoaderClient.mm
    M Tools/TestWebKitAPI/Tests/mac/WebViewIconLoading.mm

  Log Message:
  -----------
  Remove all calls to deprecated NSImage setScalesWhenResized
https://bugs.webkit.org/show_bug.cgi?id=293240
rdar://151628981

Reviewed by Wenson Hsieh.

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.

* Source/WebKitLegacy/mac/Misc/WebNSImageExtras.m:
(-[NSImage _web_scaleToMaxSize:]):
* Source/WebKitLegacy/mac/WebCoreSupport/WebFrameLoaderClient.mm:
(webGetNSImage):
* Tools/TestWebKitAPI/Tests/mac/WebViewIconLoading.mm:
(imageFromData):

Canonical link: https://commits.webkit.org/295233@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

Reply via email to