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

Unified Diff: Source/modules/device_orientation/DeviceMotionController.cpp

Issue 619383002: Move PlatformEventDispatcher implementations to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Only call stopUpdating() from controller dtors when without Oilpan 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
Index: Source/modules/device_orientation/DeviceMotionController.cpp
diff --git a/Source/modules/device_orientation/DeviceMotionController.cpp b/Source/modules/device_orientation/DeviceMotionController.cpp
index fa5f0f4b4ba03b13c541bd00baf3a4415fbf61bd..df37855534e176f04d9e21266ab64dcb84403348 100644
--- a/Source/modules/device_orientation/DeviceMotionController.cpp
+++ b/Source/modules/device_orientation/DeviceMotionController.cpp
@@ -20,7 +20,9 @@ DeviceMotionController::DeviceMotionController(Document& document)
DeviceMotionController::~DeviceMotionController()
{
+#if !ENABLE(OILPAN)
stopUpdating();
+#endif
}
const char* DeviceMotionController::supplementName()

Powered by Google App Engine
This is Rietveld 408576698