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

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

Issue 2885203004: Refactor content/renderer/device_sensors to use device/generic_sensor instead of device/sensors (Closed)
Patch Set: updated content/renderer/BUILD.gn 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/device_orientation/DeviceOrientationDispatcher.cpp
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.cpp
index 2c0a8c5e7b3d4a6c284629b303402bed82a5c9dc..ffb5e9800d35184f245e17b0829dad6fc45f0721 100644
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.cpp
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.cpp
@@ -70,7 +70,7 @@ void DeviceOrientationDispatcher::StopListening() {
}
void DeviceOrientationDispatcher::DidChangeDeviceOrientation(
- const device::OrientationData& motion) {
+ const WebDeviceOrientationData& motion) {
last_device_orientation_data_ = DeviceOrientationData::Create(motion);
NotifyControllers();
}

Powered by Google App Engine
This is Rietveld 408576698