| Index: third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| index 920ab117c5f36287cde9d779bafc3f069e51be63..5748124b77e67bd9dee314115827c66747812836 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp
|
| @@ -3519,6 +3519,8 @@ void HTMLMediaElement::didEnterFullscreen() {
|
| // FIXME: There is no embedder-side handling in layout test mode.
|
| if (webMediaPlayer() && !LayoutTestSupport::isRunningLayoutTest())
|
| webMediaPlayer()->enteredFullscreen();
|
| + if (mediaControls())
|
| + mediaControls()->didEnterFullscreen();
|
| // Cache this in case the player is destroyed before leaving fullscreen.
|
| m_inOverlayFullscreenVideo = usesOverlayFullscreenVideo();
|
| if (m_inOverlayFullscreenVideo)
|
| @@ -3531,6 +3533,8 @@ void HTMLMediaElement::didExitFullscreen() {
|
|
|
| if (webMediaPlayer())
|
| webMediaPlayer()->exitedFullscreen();
|
| + if (mediaControls())
|
| + mediaControls()->didExitFullscreen();
|
| if (m_inOverlayFullscreenVideo)
|
| document().layoutViewItem().compositor()->setNeedsCompositingUpdate(
|
| CompositingUpdateRebuildTree);
|
|
|