Title: [233925] trunk/Source/WebKit
Revision
233925
Author
[email protected]
Date
2018-07-18 12:44:32 -0700 (Wed, 18 Jul 2018)

Log Message

Dissociate the VideoFullscreenInterface from its VideoFullscreenModel before removing it from the manager
https://bugs.webkit.org/show_bug.cgi?id=187775
<rdar://problem/42343229>

Reviewed by Jon Lee.

* UIProcess/Cocoa/VideoFullscreenManagerProxy.mm:
(WebKit::VideoFullscreenManagerProxy::didCleanupFullscreen):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (233924 => 233925)


--- trunk/Source/WebKit/ChangeLog	2018-07-18 19:01:34 UTC (rev 233924)
+++ trunk/Source/WebKit/ChangeLog	2018-07-18 19:44:32 UTC (rev 233925)
@@ -1,3 +1,14 @@
+2018-07-18  Jer Noble  <[email protected]>
+
+        Dissociate the VideoFullscreenInterface from its VideoFullscreenModel before removing it from the manager
+        https://bugs.webkit.org/show_bug.cgi?id=187775
+        <rdar://problem/42343229>
+
+        Reviewed by Jon Lee.
+
+        * UIProcess/Cocoa/VideoFullscreenManagerProxy.mm:
+        (WebKit::VideoFullscreenManagerProxy::didCleanupFullscreen):
+
 2018-07-18  Wenson Hsieh  <[email protected]>
 
         Add SPI to defer running async script until after document load

Modified: trunk/Source/WebKit/UIProcess/Cocoa/VideoFullscreenManagerProxy.mm (233924 => 233925)


--- trunk/Source/WebKit/UIProcess/Cocoa/VideoFullscreenManagerProxy.mm	2018-07-18 19:01:34 UTC (rev 233924)
+++ trunk/Source/WebKit/UIProcess/Cocoa/VideoFullscreenManagerProxy.mm	2018-07-18 19:44:32 UTC (rev 233925)
@@ -609,6 +609,7 @@
     m_page->send(Messages::VideoFullscreenManager::DidCleanupFullscreen(contextId), m_page->pageID());
 
     interface->setMode(HTMLMediaElementEnums::VideoFullscreenModeNone);
+    interface->setVideoFullscreenModel(nullptr);
     removeClientForContext(contextId);
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to