https://bugs.webkit.org/show_bug.cgi?id=175176
rdar://problem/
20887306
Patch by Jeremy Jones <jeremyj@apple.com> 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):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@220258
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2017-08-04 Jeremy Jones <jeremyj@apple.com>
+
+ 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 <zdobersek@igalia.com>
[GCrypt] Implement CryptoKeyEC PKCS#8 imports
};
}
-@interface UIApplication ()
-- (void)_setStatusBarOrientation:(UIInterfaceOrientation)o;
-@end
-
-@interface UIWindow ()
-- (UIInterfaceOrientation)interfaceOrientation;
-@end
-
void VideoFullscreenInterfaceAVKit::cleanupFullscreen()
{
LOG(Fullscreen, "VideoFullscreenInterfaceAVKit::cleanupFullscreen(%p)", this);
if (m_window) {
[m_window setHidden:YES];
[m_window setRootViewController:nil];
- if (m_parentWindow)
- [[getUIApplicationClass() sharedApplication] _setStatusBarOrientation:[m_parentWindow interfaceOrientation]];
}
[m_playerViewController setDelegate:nil];