Title: [220258] trunk/Source/WebCore
Revision
220258
Author
[email protected]
Date
2017-08-04 00:36:50 -0700 (Fri, 04 Aug 2017)

Log Message

Remove unnecesary call to status bar SPI.
https://bugs.webkit.org/show_bug.cgi?id=175176
rdar://problem/20887306

Patch by Jeremy Jones <[email protected]> on 2017-08-04
Reviewed by Darin Adler.

No new tests because no behavior change.

This removes an obsolete call to SPI.

* platform/ios/VideoFullscreenInterfaceAVKit.mm:
(VideoFullscreenInterfaceAVKit::cleanupFullscreen):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (220257 => 220258)


--- trunk/Source/WebCore/ChangeLog	2017-08-04 06:38:31 UTC (rev 220257)
+++ trunk/Source/WebCore/ChangeLog	2017-08-04 07:36:50 UTC (rev 220258)
@@ -1,3 +1,18 @@
+2017-08-04  Jeremy Jones  <[email protected]>
+
+        Remove unnecesary call to status bar SPI.
+        https://bugs.webkit.org/show_bug.cgi?id=175176
+        rdar://problem/20887306
+
+        Reviewed by Darin Adler.
+
+        No new tests because no behavior change.
+
+        This removes an obsolete call to SPI.
+
+        * platform/ios/VideoFullscreenInterfaceAVKit.mm:
+        (VideoFullscreenInterfaceAVKit::cleanupFullscreen):
+
 2017-08-03  Zan Dobersek  <[email protected]>
 
         [GCrypt] Implement CryptoKeyEC PKCS#8 imports

Modified: trunk/Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm (220257 => 220258)


--- trunk/Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm	2017-08-04 06:38:31 UTC (rev 220257)
+++ trunk/Source/WebCore/platform/ios/VideoFullscreenInterfaceAVKit.mm	2017-08-04 07:36:50 UTC (rev 220258)
@@ -763,14 +763,6 @@
     };
 }
 
-@interface UIApplication ()
-- (void)_setStatusBarOrientation:(UIInterfaceOrientation)o;
-@end
-
-@interface UIWindow ()
-- (UIInterfaceOrientation)interfaceOrientation;
-@end
-
 void VideoFullscreenInterfaceAVKit::cleanupFullscreen()
 {
     LOG(Fullscreen, "VideoFullscreenInterfaceAVKit::cleanupFullscreen(%p)", this);
@@ -777,8 +769,6 @@
     if (m_window) {
         [m_window setHidden:YES];
         [m_window setRootViewController:nil];
-        if (m_parentWindow)
-            [[getUIApplicationClass() sharedApplication] _setStatusBarOrientation:[m_parentWindow interfaceOrientation]];
     }
     
     [m_playerViewController setDelegate:nil];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to