| 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 c04e065940004d6f215b10dbb863e467d8e5104d..36b8187796bb509ddcf0e1bdd47159e32ea7eacc 100644
|
| --- a/third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp
|
| +++ b/third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp
|
| @@ -104,9 +104,9 @@ void OrientationSensor::populateMatrix(
|
| Float32ArrayOrFloat64ArrayOrDOMMatrix& matrix,
|
| ExceptionState& exceptionState) {
|
| if (matrix.isFloat32Array())
|
| - populateMatrixInternal(matrix.getAsFloat32Array(), exceptionState);
|
| + populateMatrixInternal(matrix.getAsFloat32Array().view(), exceptionState);
|
| else if (matrix.isFloat64Array())
|
| - populateMatrixInternal(matrix.getAsFloat64Array(), exceptionState);
|
| + populateMatrixInternal(matrix.getAsFloat64Array().view(), exceptionState);
|
| else if (matrix.isDOMMatrix())
|
| populateMatrixInternal(matrix.getAsDOMMatrix(), exceptionState);
|
| else
|
|
|