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

Unified Diff: Source/modules/device_light/DeviceLightController.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.cpp ('k') | Source/modules/device_light/DeviceLightDispatcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/device_light/DeviceLightController.cpp
diff --git a/Source/modules/device_light/DeviceLightController.cpp b/Source/modules/device_light/DeviceLightController.cpp
index 7c394b0c0bb2fd1bac5b9db76d6b4c88c07a9161..8e2a2990a6ef322fc8e939bd3a0793a5cc12493b 100644
--- a/Source/modules/device_light/DeviceLightController.cpp
+++ b/Source/modules/device_light/DeviceLightController.cpp
@@ -20,7 +20,9 @@ DeviceLightController::DeviceLightController(Document& document)
DeviceLightController::~DeviceLightController()
{
+#if !ENABLE(OILPAN)
stopUpdating();
+#endif
}
const char* DeviceLightController::supplementName()
« no previous file with comments | « Source/modules/battery/BatteryManager.cpp ('k') | Source/modules/device_light/DeviceLightDispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698