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

Unified Diff: third_party/WebKit/Source/core/dom/DOMArrayPiece.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
« no previous file with comments | « third_party/WebKit/Source/core/css/FontFace.cpp ('k') | third_party/WebKit/Source/core/dom/NotShared.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/DOMArrayPiece.cpp
diff --git a/third_party/WebKit/Source/core/dom/DOMArrayPiece.cpp b/third_party/WebKit/Source/core/dom/DOMArrayPiece.cpp
index 30f25b6dda7fec4b571446b31f95d6e8250a9ce0..f95b19e95359a4d06b3d1cb35b6f7ae49b2a755e 100644
--- a/third_party/WebKit/Source/core/dom/DOMArrayPiece.cpp
+++ b/third_party/WebKit/Source/core/dom/DOMArrayPiece.cpp
@@ -16,7 +16,7 @@ DOMArrayPiece::DOMArrayPiece(
InitWithData(array_buffer->Data(), array_buffer->ByteLength());
} else if (array_buffer_or_view.isArrayBufferView()) {
DOMArrayBufferView* array_buffer_view =
- array_buffer_or_view.getAsArrayBufferView();
+ array_buffer_or_view.getAsArrayBufferView().View();
InitWithData(array_buffer_view->BaseAddress(),
array_buffer_view->byteLength());
} else if (array_buffer_or_view.isNull() &&
« no previous file with comments | « third_party/WebKit/Source/core/css/FontFace.cpp ('k') | third_party/WebKit/Source/core/dom/NotShared.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698