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(); |