Index: device/sensors/public/cpp/orientation_data.cc |
diff --git a/third_party/WebKit/Source/platform/exported/WebDeviceMotionData.cpp b/device/sensors/public/cpp/orientation_data.cc |
similarity index 92% |
rename from third_party/WebKit/Source/platform/exported/WebDeviceMotionData.cpp |
rename to device/sensors/public/cpp/orientation_data.cc |
index 10f219ab20a8b4f29dac99a5d29087b54d5a0356..966c09760951f3b72d9c2e118d70058f6fff1910 100644 |
--- a/third_party/WebKit/Source/platform/exported/WebDeviceMotionData.cpp |
+++ b/device/sensors/public/cpp/orientation_data.cc |
@@ -28,13 +28,13 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#include "public/platform/modules/device_orientation/WebDeviceMotionData.h" |
+#include "device/sensors/public/cpp/orientation_data.h" |
#include <string.h> |
-namespace blink { |
+namespace device { |
-WebDeviceMotionData::WebDeviceMotionData() { |
+OrientationData::OrientationData() { |
// Make sure to zero out the memory so that there are no uninitialized bits. |
// This object is used in the shared memory buffer and is memory copied by |
// two processes. Valgrind will complain if we copy around memory that is |
@@ -42,4 +42,4 @@ WebDeviceMotionData::WebDeviceMotionData() { |
memset(this, 0, sizeof(*this)); |
} |
-} // namespace blink |
+} // namespace device |