Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(401)

Unified Diff: third_party/WebKit/Source/modules/sensor/OrientationSensor.cpp

Issue 2707243006: [SharedArrayBuffer] Prevent SharedArrayBuffer being used in Web APIs (Closed)
Patch Set: update comment, add TODO Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698