Unreviewed API Test fix; restored a line inadventantly removed in r233926.
[WebKit-https.git] / Source / WebCore / platform / mac / VideoFullscreenInterfaceMac.mm
index b92b379..bf676f7 100644 (file)
@@ -302,6 +302,8 @@ enum class PIPState {
             }
         }
 
+        _videoFullscreenInterfaceMac->clearMode(HTMLMediaElementEnums::VideoFullscreenModePictureInPicture);
+
         if (VideoFullscreenChangeObserver* fullscreenChangeObserver = _videoFullscreenInterfaceMac->videoFullscreenChangeObserver())
             fullscreenChangeObserver->didExitFullscreen();
     }