Title: [245527] branches/safari-608.1.24-branch/Source/WebKit
Revision
245527
Author
[email protected]
Date
2019-05-20 11:03:47 -0700 (Mon, 20 May 2019)

Log Message

Cherry-pick r245267.

    2019-05-13  Wenson Hsieh  <[email protected]>

            Unreviewed, fix some deprecation warnings when using a recent SDK

            * UIProcess/ios/WebDataListSuggestionsDropdownIOS.mm:
            (-[WKDataListSuggestionsPicker initWithInformation:inView:]):

Modified Paths

Diff

Modified: branches/safari-608.1.24-branch/Source/WebKit/ChangeLog (245526 => 245527)


--- branches/safari-608.1.24-branch/Source/WebKit/ChangeLog	2019-05-20 17:54:02 UTC (rev 245526)
+++ branches/safari-608.1.24-branch/Source/WebKit/ChangeLog	2019-05-20 18:03:47 UTC (rev 245527)
@@ -1,3 +1,14 @@
+2019-05-20  Dean Jackson  <[email protected]>
+
+        Cherry-pick r245267.
+
+    2019-05-13  Wenson Hsieh  <[email protected]>
+
+            Unreviewed, fix some deprecation warnings when using a recent SDK
+
+            * UIProcess/ios/WebDataListSuggestionsDropdownIOS.mm:
+            (-[WKDataListSuggestionsPicker initWithInformation:inView:]):
+
 2019-05-15  Kocsen Chung  <[email protected]>
 
         Cherry-pick r245360. rdar://problem/50823976

Modified: branches/safari-608.1.24-branch/Source/WebKit/UIProcess/ios/WebDataListSuggestionsDropdownIOS.mm (245526 => 245527)


--- branches/safari-608.1.24-branch/Source/WebKit/UIProcess/ios/WebDataListSuggestionsDropdownIOS.mm	2019-05-20 17:54:02 UTC (rev 245526)
+++ branches/safari-608.1.24-branch/Source/WebKit/UIProcess/ios/WebDataListSuggestionsDropdownIOS.mm	2019-05-20 18:03:47 UTC (rev 245527)
@@ -211,7 +211,12 @@
     [_pickerView setDataSource:self];
     [_pickerView setDelegate:self];
     [_pickerView setControl:self];
-    [_pickerView setSize:[UIKeyboard defaultSizeForInterfaceOrientation:UIApp.interfaceOrientation]];
+#if HAVE(UISCENE)
+    auto interfaceOrientation = view.window.windowScene.interfaceOrientation;
+#else
+    auto interfaceOrientation = UIApp.interfaceOrientation;
+#endif
+    [_pickerView setSize:[UIKeyboard defaultSizeForInterfaceOrientation:interfaceOrientation]];
 
     return self;
 }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to