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

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

Issue 619383002: Move PlatformEventDispatcher implementations to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix non-Oilpan allocation of DeviceLightDispatcher singleton Created 6 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
« no previous file with comments | « Source/modules/battery/BatteryManager.h ('k') | Source/modules/device_light/DeviceLightController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/battery/BatteryManager.cpp
diff --git a/Source/modules/battery/BatteryManager.cpp b/Source/modules/battery/BatteryManager.cpp
index 7e25cb1e5be2d6bec07340c52330f4da67b047a8..98091ee107da8c198f2dc41ff00f041f29111f8f 100644
--- a/Source/modules/battery/BatteryManager.cpp
+++ b/Source/modules/battery/BatteryManager.cpp
@@ -22,7 +22,9 @@ BatteryManager* BatteryManager::create(ExecutionContext* context)
BatteryManager::~BatteryManager()
{
+#if !ENABLE(OILPAN)
stopUpdating();
+#endif
}
BatteryManager::BatteryManager(ExecutionContext* context)
« no previous file with comments | « Source/modules/battery/BatteryManager.h ('k') | Source/modules/device_light/DeviceLightController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698