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

Unified Diff: content/browser/device_sensors/sensor_manager_android.cc

Issue 1737443002: Make DeviceOrientationEvent.prototype.absolute non-nullable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address feedback Created 4 years, 10 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: content/browser/device_sensors/sensor_manager_android.cc
diff --git a/content/browser/device_sensors/sensor_manager_android.cc b/content/browser/device_sensors/sensor_manager_android.cc
index e821fb445a42b30e5c07d209750872de9035dbb8..5fffdd9072015cd368d9d498c5f592330c77a3ad 100644
--- a/content/browser/device_sensors/sensor_manager_android.cc
+++ b/content/browser/device_sensors/sensor_manager_android.cc
@@ -41,7 +41,6 @@ void SetOrientationBufferStatus(
bool ready, bool absolute) {
buffer->seqlock.WriteBegin();
buffer->data.absolute = absolute;
- buffer->data.hasAbsolute = ready;
buffer->data.allAvailableSensorsAreActive = ready;
buffer->seqlock.WriteEnd();
}

Powered by Google App Engine
This is Rietveld 408576698