Title: [263990] trunk/Source/WebCore
Revision
263990
Author
[email protected]
Date
2020-07-06 15:04:40 -0700 (Mon, 06 Jul 2020)

Log Message

Cleanup WebVideoFullscreenControllerAVKit.mm and PlaybackSessionInterfaceAVKit.mm
https://bugs.webkit.org/show_bug.cgi?id=214005

Reviewed by Daniel Bates.

No new tests, no behavior change.

* platform/ios/PlaybackSessionInterfaceAVKit.mm:
* platform/ios/WebVideoFullscreenControllerAVKit.mm:
(VideoFullscreenControllerContext::setUpFullscreen):
Remove a redundant line.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (263989 => 263990)


--- trunk/Source/WebCore/ChangeLog	2020-07-06 21:52:10 UTC (rev 263989)
+++ trunk/Source/WebCore/ChangeLog	2020-07-06 22:04:40 UTC (rev 263990)
@@ -1,3 +1,17 @@
+2020-07-06  Peng Liu  <[email protected]>
+
+        Cleanup WebVideoFullscreenControllerAVKit.mm and PlaybackSessionInterfaceAVKit.mm
+        https://bugs.webkit.org/show_bug.cgi?id=214005
+
+        Reviewed by Daniel Bates.
+
+        No new tests, no behavior change.
+
+        * platform/ios/PlaybackSessionInterfaceAVKit.mm:
+        * platform/ios/WebVideoFullscreenControllerAVKit.mm:
+        (VideoFullscreenControllerContext::setUpFullscreen):
+        Remove a redundant line.
+
 2020-07-06  Clark Wang  <[email protected]>
 
         Added PannerNode constructor according to spec

Modified: trunk/Source/WebCore/platform/ios/PlaybackSessionInterfaceAVKit.mm (263989 => 263990)


--- trunk/Source/WebCore/platform/ios/PlaybackSessionInterfaceAVKit.mm	2020-07-06 21:52:10 UTC (rev 263989)
+++ trunk/Source/WebCore/platform/ios/PlaybackSessionInterfaceAVKit.mm	2020-07-06 22:04:40 UTC (rev 263990)
@@ -27,8 +27,7 @@
 #import "config.h"
 #import "PlaybackSessionInterfaceAVKit.h"
 
-#if PLATFORM(COCOA)
-#if HAVE(AVKIT)
+#if PLATFORM(COCOA) && HAVE(AVKIT)
 
 #import "Logging.h"
 #import "MediaSelectionOption.h"
@@ -229,5 +228,4 @@
 
 }
 
-#endif // HAVE(AVKIT)
-#endif // PLATFORM(COCOA)
+#endif // PLATFORM(COCOA) && HAVE(AVKIT)

Modified: trunk/Source/WebCore/platform/ios/WebVideoFullscreenControllerAVKit.mm (263989 => 263990)


--- trunk/Source/WebCore/platform/ios/WebVideoFullscreenControllerAVKit.mm	2020-07-06 21:52:10 UTC (rev 263989)
+++ trunk/Source/WebCore/platform/ios/WebVideoFullscreenControllerAVKit.mm	2020-07-06 22:04:40 UTC (rev 263990)
@@ -991,7 +991,6 @@
         m_interface = VideoFullscreenInterfaceAVKit::create(sessionInterface.get());
         m_interface->setVideoFullscreenChangeObserver(this);
         m_interface->setVideoFullscreenModel(this);
-        m_interface->setVideoFullscreenChangeObserver(this);
 
         m_videoFullscreenView = adoptNS([PAL::allocUIViewInstance() init]);
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to