| Index: third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp
|
| diff --git a/third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp b/third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp
|
| index 3d1cc1518c5a3d22aabd756d3eeabc6d211a03b8..a4d70a41e48a7abfe62c135cea48009c14c74493 100644
|
| --- a/third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp
|
| +++ b/third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp
|
| @@ -15,10 +15,10 @@ Vector<double> OrientationSensor::quaternion(bool& is_null) {
|
| reading_dirty_ = false;
|
| is_null = !CanReturnReadings();
|
| return is_null ? Vector<double>()
|
| - : Vector<double>({ReadingValueUnchecked(3), // W
|
| - ReadingValueUnchecked(0), // Vx
|
| + : Vector<double>({ReadingValueUnchecked(0), // Vx
|
| ReadingValueUnchecked(1), // Vy
|
| - ReadingValueUnchecked(2)}); // Vz
|
| + ReadingValueUnchecked(2), // Vz
|
| + ReadingValueUnchecked(3)}); // W
|
| }
|
|
|
| template <typename T>
|
|
|