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

Unified Diff: third_party/WebKit/Source/core/dom/DOMSharedArrayBuffer.cpp

Issue 2617073002: Additional DCHECKs when accessing SharedArrayBuffer (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | third_party/WebKit/Source/wtf/typed_arrays/ArrayBuffer.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/DOMSharedArrayBuffer.cpp
diff --git a/third_party/WebKit/Source/core/dom/DOMSharedArrayBuffer.cpp b/third_party/WebKit/Source/core/dom/DOMSharedArrayBuffer.cpp
index 484e348e148d222b923d0556a8e8bfa92723abcf..78e13d9579c5dd1b5736c29be6c6046c1a9d274a 100644
--- a/third_party/WebKit/Source/core/dom/DOMSharedArrayBuffer.cpp
+++ b/third_party/WebKit/Source/core/dom/DOMSharedArrayBuffer.cpp
@@ -15,7 +15,7 @@ v8::Local<v8::Object> DOMSharedArrayBuffer::wrap(
const WrapperTypeInfo* wrapperTypeInfo = this->wrapperTypeInfo();
v8::Local<v8::Object> wrapper =
- v8::SharedArrayBuffer::New(isolate, data(), byteLength());
+ v8::SharedArrayBuffer::New(isolate, buffer()->dataShared(), byteLength());
return associateWithWrapper(isolate, wrapperTypeInfo, wrapper);
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/wtf/typed_arrays/ArrayBuffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698