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

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

Issue 683013002: Extract a DOMWindow interface from LocalDOMWindow and use it in the idl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix incorrect assumption Created 6 years, 1 month 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: Source/modules/gamepad/NavigatorGamepad.cpp
diff --git a/Source/modules/gamepad/NavigatorGamepad.cpp b/Source/modules/gamepad/NavigatorGamepad.cpp
index 928a7d6b3e89dd2e510e321ecd9e5c2277ff45f4..f0c840903e01c2528d944a8a25ac01bad9cbaab8 100644
--- a/Source/modules/gamepad/NavigatorGamepad.cpp
+++ b/Source/modules/gamepad/NavigatorGamepad.cpp
@@ -174,7 +174,7 @@ void NavigatorGamepad::dispatchOneEvent()
NavigatorGamepad::NavigatorGamepad(LocalFrame* frame)
: DOMWindowProperty(frame)
, PlatformEventController(frame ? frame->page() : 0)
- , DOMWindowLifecycleObserver(frame ? frame->domWindow() : 0)
+ , DOMWindowLifecycleObserver(frame ? frame->localDOMWindow() : 0)
, m_dispatchOneEventRunner(this, &NavigatorGamepad::dispatchOneEvent)
{
}

Powered by Google App Engine
This is Rietveld 408576698