Chromium Code Reviews

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

Issue 2577053002: ActiveScriptWrappable: GC wrappers in detached ExecutionContexts. (Closed)
Patch Set: component build fix(msvc) Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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 fbcf9639f411e8b48ac5b8b97b03a5004801180c..c20d1ee9151d702bb2fb7457109c7e09a579a0a2 100644
--- a/third_party/WebKit/Source/modules/battery/BatteryManager.cpp
+++ b/third_party/WebKit/Source/modules/battery/BatteryManager.cpp
@@ -21,7 +21,7 @@ BatteryManager* BatteryManager::create(ExecutionContext* context) {
BatteryManager::~BatteryManager() {}
BatteryManager::BatteryManager(ExecutionContext* context)
- : ActiveScriptWrappable(this),
+ : ActiveScriptWrappable<BatteryManager>(this),
SuspendableObject(context),
PlatformEventController(toDocument(context)->page()) {}

Powered by Google App Engine