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

Unified Diff: third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.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/DeviceOrientationData.cpp
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.cpp b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.cpp
index d156b198bacd28a87d0f3551510c601985e952cd..72cc08873b8c3863d524056b325f6c714979be5a 100644
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.cpp
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.cpp
@@ -25,8 +25,8 @@
#include "modules/device_orientation/DeviceOrientationData.h"
-#include "device/sensors/public/cpp/orientation_data.h"
#include "modules/device_orientation/DeviceOrientationEventInit.h"
+#include "public/platform/modules/device_orientation/WebDeviceOrientationData.h"
namespace blink {
@@ -57,7 +57,7 @@ DeviceOrientationData* DeviceOrientationData::Create(
}
DeviceOrientationData* DeviceOrientationData::Create(
- const device::OrientationData& data) {
+ const WebDeviceOrientationData& data) {
Nullable<double> alpha;
Nullable<double> beta;
Nullable<double> gamma;

Powered by Google App Engine
This is Rietveld 408576698