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

Unified Diff: content/renderer/device_sensors/device_motion_event_pump.cc

Issue 2763333002: Convert device sensors structs from Blink to Chromium naming (Closed)
Patch Set: Rebase 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: content/renderer/device_sensors/device_motion_event_pump.cc
diff --git a/content/renderer/device_sensors/device_motion_event_pump.cc b/content/renderer/device_sensors/device_motion_event_pump.cc
index 2f7392a88b89bce60607c7c23c77651b6bfa5b7a..a97e5cac15f86f101821f8d964cae5e0ddd88c74 100644
--- a/content/renderer/device_sensors/device_motion_event_pump.cc
+++ b/content/renderer/device_sensors/device_motion_event_pump.cc
@@ -20,7 +20,7 @@ DeviceMotionEventPump::~DeviceMotionEventPump() {
void DeviceMotionEventPump::FireEvent() {
DCHECK(listener());
device::MotionData data;
- if (reader_->GetLatestData(&data) && data.allAvailableSensorsAreActive)
+ if (reader_->GetLatestData(&data) && data.all_available_sensors_are_active)
listener()->didChangeDeviceMotion(data);
}

Powered by Google App Engine
This is Rietveld 408576698