Index: third_party/WebKit/Source/modules/battery/BatteryManager.cpp |
diff --git a/third_party/WebKit/Source/modules/battery/BatteryManager.cpp b/third_party/WebKit/Source/modules/battery/BatteryManager.cpp |
index 5304ce54412e34ada73923ee72880128abdcb38d..060a7ad417c790bc43aecd792f0489b245a11813 100644 |
--- a/third_party/WebKit/Source/modules/battery/BatteryManager.cpp |
+++ b/third_party/WebKit/Source/modules/battery/BatteryManager.cpp |
@@ -25,7 +25,8 @@ BatteryManager::~BatteryManager() |
} |
BatteryManager::BatteryManager(ExecutionContext* context) |
- : ActiveDOMObject(context) |
+ : ActiveScriptWrappable(this) |
+ , ActiveDOMObject(context) |
, PlatformEventController(toDocument(context)->page()) |
{ |
} |