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

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

Issue 2415083002: Move Device Sensors client files from Blink to //device/sensors client lib (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: 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 7f0b9dc97d999349750e822f6abd19f906d01e84..6bcd20b404dbd4a96b144b73d4ea334f85337ddd 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 WebDeviceOrientationData& data) {
+ const device::OrientationData& data) {
Nullable<double> alpha;
Nullable<double> beta;
Nullable<double> gamma;

Powered by Google App Engine
This is Rietveld 408576698