Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://bugs.webkit.org/show_bug.cgi?id=255834 rdar://108413602 Unreviewed build fix. Fix the build following recent deprecations in UIKit. * Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm: `UIBacklightLevelChangedNotification` has been deprecated in favor of `UIScreenBrightnessDidChangeNotification`. However, the change is not a simple replacement, since it also requires replacing the use of `CFNotificationCenter` with `NSNotificationCenter`. (WebKit::WebProcessPool::registerNotificationObservers): (WebKit::WebProcessPool::unregisterNotificationObservers): * Source/WebKit/UIProcess/ios/WebDataListSuggestionsDropdownIOS.mm: (-[WKDataListSuggestionsPicker initWithInformation:inView:]): Mechanical change to set a view's frame's size. * Source/WebKit/UIProcess/ios/forms/WKFormSelectPicker.mm: (-[WKMultipleSelectPicker initWithView:]): Mechanical change to set a view's frame's size. (-[WKMultipleSelectPicker pickerView:row:column:checked:]): There is no known replacement for the deprecated method. (-[WKMultipleSelectPicker selectRow:inComponent:extendingSelection:]): There is no known replacement for the deprecated method. * Tools/WebKitTestRunner/ios/PlatformWebViewIOS.mm: (-[WebKitTestRunnerWindow setFrameOrigin:]): This override may be unnecessary, and should be evaluated separately. Canonical link: https://commits.webkit.org/263285@main
- Loading branch information
Showing
4 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters