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

Unified Diff: Source/modules/battery/BatteryManager.cpp

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/battery/BatteryManager.cpp
diff --git a/Source/modules/battery/BatteryManager.cpp b/Source/modules/battery/BatteryManager.cpp
index 382eff3e7acb7228c2905a062eb3876b7f6317f9..3a37f57dc150f6c5b65a06d1a06ababf0c766abf 100644
--- a/Source/modules/battery/BatteryManager.cpp
+++ b/Source/modules/battery/BatteryManager.cpp
@@ -26,7 +26,7 @@ BatteryManager::~BatteryManager()
BatteryManager::BatteryManager(ExecutionContext* context)
: ActiveDOMObject(context)
- , DeviceSensorEventController(*toDocument(context))
+ , DeviceSensorEventController(toDocument(context))
{
m_hasEventListener = true;
startUpdating();

Powered by Google App Engine
This is Rietveld 408576698