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

Unified Diff: third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.cpp

Issue 2767473004: Update DeviceMotionEvent IDL to match the specification. (Closed)
Patch Set: Rebased. Created 3 years, 9 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: third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.cpp
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.cpp
index e8a83b41fb21b19258df0bd0da87f82b08878107..425a8176f324a0369d46d1b9758d987d3d3d4f76 100644
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.cpp
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionEvent.cpp
@@ -80,8 +80,7 @@ DeviceRotationRate* DeviceMotionEvent::rotationRate() {
return m_rotationRate.get();
}
-double DeviceMotionEvent::interval(bool& isNull) const {
- isNull = false;
+double DeviceMotionEvent::interval() const {
return m_deviceMotionData->interval();
}

Powered by Google App Engine
This is Rietveld 408576698