Index: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.cpp |
diff --git a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.cpp b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.cpp |
index a8ec2c09c38cb9a6262f3ace184b7bc115b8e99a..b3f4e3e35399c9e6540102a8e9e803e4525e4e62 100644 |
--- a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.cpp |
+++ b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.cpp |
@@ -5,6 +5,7 @@ |
#include "modules/screen_orientation/ScreenOrientationControllerImpl.h" |
#include "core/dom/Document.h" |
+#include "core/dom/TaskRunnerHelper.h" |
#include "core/events/Event.h" |
#include "core/frame/FrameHost.h" |
#include "core/frame/FrameView.h" |
@@ -45,6 +46,7 @@ ScreenOrientationControllerImpl::ScreenOrientationControllerImpl( |
PlatformEventController(frame.page()), |
m_client(client), |
m_dispatchEventTimer( |
+ TaskRunnerHelper::get(TaskType::MiscPlatformAPI, &frame), |
this, |
&ScreenOrientationControllerImpl::dispatchEventTimerFired) {} |