Title: [215993] trunk/Source/WebCore
- Revision
- 215993
- Author
- [email protected]
- Date
- 2017-04-30 13:53:01 -0700 (Sun, 30 Apr 2017)
Log Message
Tried to fix the iOS build after r215992
* platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
(WebAVPlayerLayerView_pictureInPicturePlayerLayerView):
(WebVideoFullscreenInterfaceAVKit::setupFullscreen):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (215992 => 215993)
--- trunk/Source/WebCore/ChangeLog 2017-04-30 20:47:21 UTC (rev 215992)
+++ trunk/Source/WebCore/ChangeLog 2017-04-30 20:53:01 UTC (rev 215993)
@@ -1,5 +1,13 @@
2017-04-30 Dan Bernstein <[email protected]>
+ Tried to fix the iOS build after r215992
+
+ * platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
+ (WebAVPlayerLayerView_pictureInPicturePlayerLayerView):
+ (WebVideoFullscreenInterfaceAVKit::setupFullscreen):
+
+2017-04-30 Dan Bernstein <[email protected]>
+
[Cocoa] Replaces uses of [get…() alloc] with alloc…Instance()
https://bugs.webkit.org/show_bug.cgi?id=171485
Modified: trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm (215992 => 215993)
--- trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm 2017-04-30 20:47:21 UTC (rev 215992)
+++ trunk/Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm 2017-04-30 20:53:01 UTC (rev 215993)
@@ -444,7 +444,7 @@
WebAVPlayerLayerView *playerLayerView = aSelf;
WebAVPictureInPicturePlayerLayerView *pipView = [playerLayerView valueForKey:@"_pictureInPicturePlayerLayerView"];
if (!pipView) {
- pipView = [allocWebAVPictureInPicturePlayerLayerViewInstance() initWithFrame:CGRectZero];
+ pipView = [[getWebAVPictureInPicturePlayerLayerViewClass() alloc] initWithFrame:CGRectZero];
[playerLayerView setValue:pipView forKey:@"_pictureInPicturePlayerLayerView"];
}
return pipView;
@@ -613,7 +613,7 @@
}
if (!m_playerLayerView)
- m_playerLayerView = adoptNS([allocWebAVPlayerLayerViewInstance() init]);
+ m_playerLayerView = adoptNS([[getWebAVPlayerLayerViewClass() alloc] init]);
[m_playerLayerView setHidden:[playerController() isExternalPlaybackActive]];
[m_playerLayerView setBackgroundColor:[getUIColorClass() clearColor]];
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes