Title: [273995] trunk/Source/WebKit
Revision
273995
Author
[email protected]
Date
2021-03-05 12:47:54 -0800 (Fri, 05 Mar 2021)

Log Message

Unreviewed, fix the build with recent SDKs.

* UIProcess/ios/fullscreen/WKFullScreenViewController.mm:
(-[WKFullScreenViewController loadView]):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (273994 => 273995)


--- trunk/Source/WebKit/ChangeLog	2021-03-05 20:24:49 UTC (rev 273994)
+++ trunk/Source/WebKit/ChangeLog	2021-03-05 20:47:54 UTC (rev 273995)
@@ -1,3 +1,10 @@
+2021-03-05  Ryan Haddad  <[email protected]>
+
+        Unreviewed, fix the build with recent SDKs.
+
+        * UIProcess/ios/fullscreen/WKFullScreenViewController.mm:
+        (-[WKFullScreenViewController loadView]):
+
 2021-03-05  Eric Carlson  <[email protected]>
 
         [GPU Process] Remote control command should only go to the current NowPlaying session

Modified: trunk/Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenViewController.mm (273994 => 273995)


--- trunk/Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenViewController.mm	2021-03-05 20:24:49 UTC (rev 273994)
+++ trunk/Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenViewController.mm	2021-03-05 20:47:54 UTC (rev 273995)
@@ -301,7 +301,9 @@
 
     _cancelButton = [_WKExtrinsicButton buttonWithType:UIButtonTypeSystem];
     [_cancelButton setTranslatesAutoresizingMaskIntoConstraints:NO];
+    ALLOW_DEPRECATED_DECLARATIONS_BEGIN
     [_cancelButton setAdjustsImageWhenHighlighted:NO];
+    ALLOW_DEPRECATED_DECLARATIONS_END
     [_cancelButton setExtrinsicContentSize:CGSizeMake(60.0, 47.0)];
     NSBundle *bundle = [NSBundle bundleForClass:self.class];
     UIImage *doneImage = [UIImage imageNamed:@"Done" inBundle:bundle compatibleWithTraitCollection:nil];
@@ -312,7 +314,9 @@
 
     _pipButton = [_WKExtrinsicButton buttonWithType:UIButtonTypeSystem];
     [_pipButton setTranslatesAutoresizingMaskIntoConstraints:NO];
+    ALLOW_DEPRECATED_DECLARATIONS_BEGIN
     [_pipButton setAdjustsImageWhenHighlighted:NO];
+    ALLOW_DEPRECATED_DECLARATIONS_END
     [_pipButton setExtrinsicContentSize:CGSizeMake(60.0, 47.0)];
     UIImage *startPiPImage = [UIImage imageNamed:@"StartPictureInPictureButton" inBundle:bundle compatibleWithTraitCollection:nil];
     UIImage *stopPiPImage = [UIImage imageNamed:@"StopPictureInPictureButton" inBundle:bundle compatibleWithTraitCollection:nil];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to