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

Unified Diff: third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp

Issue 2562323002: Devirtualize Frame::domWindow(). (Closed)
Patch Set: Created 4 years 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
Index: third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp
diff --git a/third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp b/third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp
index f99ab0b83ea9004ec640d49795dfeac47a8a21c6..546499b170c21cfbdcc6f7feab2dd0fa51615e27 100644
--- a/third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp
+++ b/third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp
@@ -174,7 +174,7 @@ NavigatorGamepad::NavigatorGamepad(LocalFrame* frame)
this,
&NavigatorGamepad::dispatchOneEvent)) {
if (frame)
- frame->localDOMWindow()->registerEventListenerObserver(this);
+ frame->domWindow()->registerEventListenerObserver(this);
}
NavigatorGamepad::~NavigatorGamepad() {}

Powered by Google App Engine
This is Rietveld 408576698