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

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

Issue 2534703002: [Sensors] Layouts test to check frequency hint (Closed)
Patch Set: Comments from Reilly Created 4 years, 1 month 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
« no previous file with comments | « third_party/WebKit/Source/modules/sensor/MagnetometerReading.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/sensor/SensorProxy.cpp
diff --git a/third_party/WebKit/Source/modules/sensor/SensorProxy.cpp b/third_party/WebKit/Source/modules/sensor/SensorProxy.cpp
index 5a822175efed08b93f12f9dc00402a041eb18e51..eb6e6510a3758e86683e6bbfaff00e5fdcdf6c0a 100644
--- a/third_party/WebKit/Source/modules/sensor/SensorProxy.cpp
+++ b/third_party/WebKit/Source/modules/sensor/SensorProxy.cpp
@@ -146,6 +146,7 @@ void SensorProxy::RaiseError() {
}
void SensorProxy::SensorReadingChanged() {
+ DCHECK_EQ(ReportingMode::ON_CHANGE, m_mode);
updateSensorReading();
}
« no previous file with comments | « third_party/WebKit/Source/modules/sensor/MagnetometerReading.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698