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

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

Issue 1805843002: [v8 gc] Introduce a base class for all objects that can have pending activity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 4 years, 9 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: 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())
{
}

Powered by Google App Engine
This is Rietveld 408576698