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

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

Issue 256593010: Gracefully support Navigator Gamepad methods in a detached state. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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
Index: Source/modules/gamepad/NavigatorGamepad.h
diff --git a/Source/modules/gamepad/NavigatorGamepad.h b/Source/modules/gamepad/NavigatorGamepad.h
index d5015c858b162120e7b228d221f1c9ce19c70c2c..1d88884e2f417ee95d4a76f97e51e349294baaaa 100644
--- a/Source/modules/gamepad/NavigatorGamepad.h
+++ b/Source/modules/gamepad/NavigatorGamepad.h
@@ -62,7 +62,7 @@ public:
void didConnectOrDisconnectGamepad(unsigned index, const blink::WebGamepad&, bool connected);
private:
- explicit NavigatorGamepad(Document&);
+ explicit NavigatorGamepad(LocalFrame*);
static const char* supplementName();

Powered by Google App Engine
This is Rietveld 408576698