Index: Source/modules/device_orientation/DeviceOrientationController.cpp |
diff --git a/Source/modules/device_orientation/DeviceOrientationController.cpp b/Source/modules/device_orientation/DeviceOrientationController.cpp |
index aad5490551ae2ea352eb81f3ef167bc2baed1ddf..405d5ec174a871c2010d844225485bac577144d0 100644 |
--- a/Source/modules/device_orientation/DeviceOrientationController.cpp |
+++ b/Source/modules/device_orientation/DeviceOrientationController.cpp |
@@ -20,7 +20,9 @@ DeviceOrientationController::DeviceOrientationController(Document& document) |
DeviceOrientationController::~DeviceOrientationController() |
{ |
+#if !ENABLE(OILPAN) |
stopUpdating(); |
+#endif |
} |
void DeviceOrientationController::didUpdateData() |