Unreviewed API Test fix; restored a line inadventantly removed in r233926.
authorjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Jul 2018 22:29:04 +0000 (22:29 +0000)
committerjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Jul 2018 22:29:04 +0000 (22:29 +0000)
* platform/mac/VideoFullscreenInterfaceMac.mm:
(-[WebVideoFullscreenInterfaceMacObjC pipDidClose:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@233936 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/mac/VideoFullscreenInterfaceMac.mm

index 4baae56..4aba988 100644 (file)
@@ -1,3 +1,10 @@
+2018-07-18  Jer Noble  <jer.noble@apple.com>
+
+        Unreviewed API Test fix; restored a line inadventantly removed in r233926.
+
+        * platform/mac/VideoFullscreenInterfaceMac.mm:
+        (-[WebVideoFullscreenInterfaceMacObjC pipDidClose:]):
+
 2018-07-18  Antoine Quint  <graouts@apple.com>
 
         [Web Animations] Interpolation between font-styles with a keyword value should be discrete
index b92b379..bf676f7 100644 (file)
@@ -302,6 +302,8 @@ enum class PIPState {
             }
         }
 
+        _videoFullscreenInterfaceMac->clearMode(HTMLMediaElementEnums::VideoFullscreenModePictureInPicture);
+
         if (VideoFullscreenChangeObserver* fullscreenChangeObserver = _videoFullscreenInterfaceMac->videoFullscreenChangeObserver())
             fullscreenChangeObserver->didExitFullscreen();
     }