diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp')
-rw-r--r-- | chromium/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/chromium/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp b/chromium/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp index 1d43fa4c34e..4e28bf2f254 100644 --- a/chromium/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp +++ b/chromium/third_party/WebKit/Source/modules/device_orientation/DeviceMotionController.cpp @@ -35,8 +35,7 @@ namespace WebCore { DeviceMotionController::DeviceMotionController(Document* document) - : DOMWindowLifecycleObserver(document->domWindow()) - , DeviceSensorEventController(document) + : DeviceSensorEventController(document) { } @@ -91,9 +90,4 @@ bool DeviceMotionController::isNullEvent(Event* event) return !motionEvent->deviceMotionData()->canProvideEventData(); } -void DeviceMotionController::removeAllEventListeners() -{ - stopUpdating(); -} - } // namespace WebCore |