Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(590)

Unified Diff: third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.cpp

Issue 2645823002: Change PlatformEventController to take LocalFrame rather than Page. (Closed)
Patch Set: Change PlatformEventController to take LocalFrame rather than Page. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 abc7d9a1718f6440a9b920c2dc6427130bdcac01..3513dd49347bf7bd6d336ac0ec323ebda38fead2 100644
--- a/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.cpp
+++ b/third_party/WebKit/Source/modules/screen_orientation/ScreenOrientationControllerImpl.cpp
@@ -43,7 +43,7 @@ ScreenOrientationControllerImpl::ScreenOrientationControllerImpl(
WebScreenOrientationClient* client)
: ScreenOrientationController(frame),
ContextLifecycleObserver(frame.document()),
- PlatformEventController(frame.page()),
+ PlatformEventController(&frame),
m_client(client),
m_dispatchEventTimer(
TaskRunnerHelper::get(TaskType::MiscPlatformAPI, &frame),
« no previous file with comments | « third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698