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..fd8a29cb33940d73bbe611abec7af1277d02a98b 100644 |
--- a/third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp |
+++ b/third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp |
@@ -107,9 +107,9 @@ void OrientationSensor::populateMatrix( |
Float32ArrayOrFloat64ArrayOrDOMMatrix& matrix, |
ExceptionState& exception_state) { |
if (matrix.isFloat32Array()) |
- PopulateMatrixInternal(matrix.getAsFloat32Array(), exception_state); |
+ PopulateMatrixInternal(matrix.getAsFloat32Array().View(), exception_state); |
else if (matrix.isFloat64Array()) |
- PopulateMatrixInternal(matrix.getAsFloat64Array(), exception_state); |
+ PopulateMatrixInternal(matrix.getAsFloat64Array().View(), exception_state); |
else if (matrix.isDOMMatrix()) |
PopulateMatrixInternal(matrix.getAsDOMMatrix(), exception_state); |
else |