| Index: Source/core/html/HTMLMediaElement.cpp
|
| diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
|
| index 8fd4af03e209fc46bb74cb770e05de7302d4e013..4d219ea723d4cbc4534912877552170cd0c8f5ee 100644
|
| --- a/Source/core/html/HTMLMediaElement.cpp
|
| +++ b/Source/core/html/HTMLMediaElement.cpp
|
| @@ -55,6 +55,7 @@
|
| #include "core/html/track/TextTrackCueList.h"
|
| #include "core/html/track/TextTrackList.h"
|
| #include "core/loader/FrameLoader.h"
|
| +#include "core/page/EventHandler.h"
|
| #include "core/rendering/RenderVideo.h"
|
| #include "core/rendering/RenderView.h"
|
| #include "core/rendering/compositing/RenderLayerCompositor.h"
|
| @@ -3183,6 +3184,8 @@ void HTMLMediaElement::didBecomeFullscreenElement()
|
| mediaControls()->enteredFullscreen();
|
| if (RuntimeEnabledFeatures::overlayFullscreenVideoEnabled() && isHTMLVideoElement(*this))
|
| document().renderView()->compositor()->setCompositingLayersNeedRebuild();
|
| + if (document().frame())
|
| + document().frame()->eventHandler().scheduleHoverStateUpdate();
|
| }
|
|
|
| void HTMLMediaElement::willStopBeingFullscreenElement()
|
| @@ -3191,6 +3194,8 @@ void HTMLMediaElement::willStopBeingFullscreenElement()
|
| mediaControls()->exitedFullscreen();
|
| if (RuntimeEnabledFeatures::overlayFullscreenVideoEnabled() && isHTMLVideoElement(*this))
|
| document().renderView()->compositor()->setCompositingLayersNeedRebuild();
|
| + if (document().frame())
|
| + document().frame()->eventHandler().scheduleHoverStateUpdate();
|
| }
|
|
|
| blink::WebLayer* HTMLMediaElement::platformLayer() const
|
|
|