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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLGetBufferSubDataAsync.h

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/webgl/WebGLGetBufferSubDataAsync.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLGetBufferSubDataAsync.h b/third_party/WebKit/Source/modules/webgl/WebGLGetBufferSubDataAsync.h
index 82f738b4f15b46be2c9f5eca3129a3794c230048..d0f8ec9a6a06c6140d3f74d2e41c67435bf6c0fc 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLGetBufferSubDataAsync.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLGetBufferSubDataAsync.h
@@ -6,6 +6,7 @@
#define WebGLGetBufferSubDataAsync_h
#include "bindings/core/v8/ScriptPromise.h"
+#include "core/dom/NotShared.h"
#include "modules/webgl/WebGLExtension.h"
namespace blink {
@@ -25,7 +26,7 @@ class WebGLGetBufferSubDataAsync final : public WebGLExtension {
ScriptPromise getBufferSubDataAsync(ScriptState*,
GLenum target,
GLintptr src_byte_offset,
- DOMArrayBufferView*,
+ NotShared<DOMArrayBufferView>,
GLuint dst_offset,
GLuint length);

Powered by Google App Engine
This is Rietveld 408576698