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

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

Issue 2567913002: Rename ActiveDOMObject to SuspendableObject (Closed)
Patch Set: Created 4 years 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 8d0524b569e19e715413710a51feed3dca30c6a9..8fdf4e88a974353762890c2ecfa78c1e0fc2f160 100644
--- a/third_party/WebKit/Source/modules/battery/BatteryManager.cpp
+++ b/third_party/WebKit/Source/modules/battery/BatteryManager.cpp
@@ -22,7 +22,7 @@ BatteryManager::~BatteryManager() {}
BatteryManager::BatteryManager(ExecutionContext* context)
: ActiveScriptWrappable(this),
- ActiveDOMObject(context),
+ SuspendableObject(context),
PlatformEventController(toDocument(context)->page()) {}
ScriptPromise BatteryManager::startRequest(ScriptState* scriptState) {
@@ -123,7 +123,7 @@ DEFINE_TRACE(BatteryManager) {
visitor->trace(m_batteryProperty);
PlatformEventController::trace(visitor);
EventTargetWithInlineData::trace(visitor);
- ActiveDOMObject::trace(visitor);
+ SuspendableObject::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698