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

Unified Diff: third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp

Issue 2885373002: [Sensors] Simplify calculation of the reporting period (Closed)
Patch Set: Created 3 years, 7 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/sensor/OrientationSensor.cpp
diff --git a/third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp b/third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp
index 09f02be0169bd914f2b7a16f9da83014489b6f33..bface1edb9fe5eb621af09b0e81cdcb8d53d359d 100644
--- a/third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp
+++ b/third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp
@@ -127,9 +127,9 @@ OrientationSensor::OrientationSensor(ExecutionContext* execution_context,
: Sensor(execution_context, options, exception_state, type),
reading_dirty_(true) {}
-void OrientationSensor::OnSensorReadingChanged(double timestamp) {
+void OrientationSensor::OnSensorReadingChanged() {
reading_dirty_ = true;
- Sensor::OnSensorReadingChanged(timestamp);
+ Sensor::OnSensorReadingChanged();
}
DEFINE_TRACE(OrientationSensor) {
« no previous file with comments | « third_party/WebKit/Source/modules/sensor/OrientationSensor.h ('k') | third_party/WebKit/Source/modules/sensor/Sensor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698