| Index: device/sensors/public/cpp/motion_data.cc
|
| diff --git a/third_party/WebKit/Source/platform/exported/WebDeviceOrientationData.cpp b/device/sensors/public/cpp/motion_data.cc
|
| similarity index 91%
|
| rename from third_party/WebKit/Source/platform/exported/WebDeviceOrientationData.cpp
|
| rename to device/sensors/public/cpp/motion_data.cc
|
| index 1feb0ff5f8f8b577289103a3073ca1e2f85ee7f3..03f66ddadbe92bb2a676cf2a4a83bd8f286632b4 100644
|
| --- a/third_party/WebKit/Source/platform/exported/WebDeviceOrientationData.cpp
|
| +++ b/device/sensors/public/cpp/motion_data.cc
|
| @@ -28,13 +28,13 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#include "public/platform/modules/device_orientation/WebDeviceOrientationData.h"
|
| +#include "device/sensors/public/cpp/motion_data.h"
|
|
|
| #include <string.h>
|
|
|
| -namespace blink {
|
| +namespace device {
|
|
|
| -WebDeviceOrientationData::WebDeviceOrientationData() {
|
| +MotionData::MotionData() {
|
| // 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,6 @@ WebDeviceOrientationData::WebDeviceOrientationData() {
|
| memset(this, 0, sizeof(*this));
|
| }
|
|
|
| -} // namespace blink
|
| +MotionData::MotionData(const MotionData& other) = default;
|
| +
|
| +} // namespace device
|
|
|