| Index: Source/core/dom/Fullscreen.cpp
|
| diff --git a/Source/core/dom/Fullscreen.cpp b/Source/core/dom/Fullscreen.cpp
|
| index 14dbbd8614dd40befb4c00aefa5aea233ee679a1..64b67a512ecf0eaffa02f3a1ab79bd769c43df31 100644
|
| --- a/Source/core/dom/Fullscreen.cpp
|
| +++ b/Source/core/dom/Fullscreen.cpp
|
| @@ -39,6 +39,7 @@
|
| #include "core/html/HTMLMediaElement.h"
|
| #include "core/page/Chrome.h"
|
| #include "core/page/ChromeClient.h"
|
| +#include "core/page/EventHandler.h"
|
| #include "core/rendering/RenderFullScreen.h"
|
| #include "platform/UserGestureIndicator.h"
|
|
|
| @@ -442,6 +443,9 @@ void Fullscreen::didEnterFullScreenForElement(Element* element)
|
|
|
| m_fullScreenElement->didBecomeFullscreenElement();
|
|
|
| + if (document()->frame())
|
| + document()->frame()->eventHandler().scheduleHoverStateUpdate();
|
| +
|
| m_eventQueueTimer.startOneShot(0, FROM_HERE);
|
| }
|
|
|
| @@ -465,6 +469,9 @@ void Fullscreen::didExitFullScreenForElement(Element*)
|
| m_fullScreenElement = nullptr;
|
| document()->setNeedsStyleRecalc(SubtreeStyleChange);
|
|
|
| + if (document()->frame())
|
| + document()->frame()->eventHandler().scheduleHoverStateUpdate();
|
| +
|
| // When fullyExitFullscreen is called, we call exitFullscreen on the topDocument(). That means
|
| // that the events will be queued there. So if we have no events here, start the timer on the
|
| // exiting document.
|
|
|