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 34db10b792206656de45cf06de3e2fe340944cb3..49acc13ed000a07108765c436499980de93bd575 100644 |
--- a/third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp |
+++ b/third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp |
@@ -102,9 +102,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 |