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

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

Issue 2366253002: Remove ActiveDOMObject::stop() (Closed)
Patch Set: temp Created 4 years, 2 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 dcb854e3f6d161b87fe98d9a90d8c42b0aeb4764..eb9a0ad869f68fa9e3c1b48f06a38bdfbdd93d93 100644
--- a/third_party/WebKit/Source/modules/battery/BatteryManager.cpp
+++ b/third_party/WebKit/Source/modules/battery/BatteryManager.cpp
@@ -108,7 +108,7 @@ void BatteryManager::resume() {
startUpdating();
}
-void BatteryManager::stop() {
+void BatteryManager::contextDestroyed() {
m_hasEventListener = false;
m_batteryProperty.clear();
stopUpdating();

Powered by Google App Engine
This is Rietveld 408576698