Title: [206568] branches/safari-602.2.14.0-branch/Source/WebCore
Revision
206568
Author
[email protected]
Date
2016-09-28 17:54:37 -0700 (Wed, 28 Sep 2016)

Log Message

Merge r206520. rdar://problem/28412512

Modified Paths

Diff

Modified: branches/safari-602.2.14.0-branch/Source/WebCore/ChangeLog (206567 => 206568)


--- branches/safari-602.2.14.0-branch/Source/WebCore/ChangeLog	2016-09-29 00:54:32 UTC (rev 206567)
+++ branches/safari-602.2.14.0-branch/Source/WebCore/ChangeLog	2016-09-29 00:54:37 UTC (rev 206568)
@@ -1,5 +1,22 @@
 2016-09-28  Babak Shafiei  <[email protected]>
 
+        Merge r206520. rdar://problem/28412512
+
+    2016-09-28  Jer Noble  <[email protected]>
+
+            PiP shows incorrect state of play button.
+            https://bugs.webkit.org/show_bug.cgi?id=162652
+
+            Reviewed by Eric Carlson.
+
+            After getting a new WebPlaybackSessionModel, the first thing WebVideoFullscreenInterfaceMac
+            should do is query for it's playbackRate() and isPlaying() properties.
+
+            * platform/mac/WebVideoFullscreenInterfaceMac.mm:
+            (WebCore::WebVideoFullscreenInterfaceMac::WebVideoFullscreenInterfaceMac):
+
+2016-09-28  Babak Shafiei  <[email protected]>
+
         Merge r206518. rdar://problem/28505032
 
     2016-09-28  Jer Noble  <[email protected]>

Modified: branches/safari-602.2.14.0-branch/Source/WebCore/platform/mac/WebVideoFullscreenInterfaceMac.mm (206567 => 206568)


--- branches/safari-602.2.14.0-branch/Source/WebCore/platform/mac/WebVideoFullscreenInterfaceMac.mm	2016-09-29 00:54:32 UTC (rev 206567)
+++ branches/safari-602.2.14.0-branch/Source/WebCore/platform/mac/WebVideoFullscreenInterfaceMac.mm	2016-09-29 00:54:37 UTC (rev 206568)
@@ -352,7 +352,9 @@
     : m_playbackSessionInterface(playbackSessionInterface)
 {
     ASSERT(m_playbackSessionInterface->webPlaybackSessionModel());
-    m_playbackSessionInterface->webPlaybackSessionModel()->addClient(*this);
+    auto model = m_playbackSessionInterface->webPlaybackSessionModel();
+    model->addClient(*this);
+    [videoFullscreenInterfaceObjC() updateIsPlaying:model->isPlaying() newPlaybackRate:model->playbackRate()];
 }
 
 WebVideoFullscreenInterfaceMac::~WebVideoFullscreenInterfaceMac()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to