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

Unified Diff: third_party/WebKit/Source/bindings/modules/v8/WebGLAny.cpp

Issue 1878463002: Move DOMArrayBuffer, DOMArrayBufferViews and DataView to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tidy Created 4 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/bindings/modules/v8/WebGLAny.cpp
diff --git a/third_party/WebKit/Source/bindings/modules/v8/WebGLAny.cpp b/third_party/WebKit/Source/bindings/modules/v8/WebGLAny.cpp
index 49f3a7250bcc0fe52cf6a7bf0880df2e0b26a736..c6f7b1472996e2577079287481224fa359816907 100644
--- a/third_party/WebKit/Source/bindings/modules/v8/WebGLAny.cpp
+++ b/third_party/WebKit/Source/bindings/modules/v8/WebGLAny.cpp
@@ -92,22 +92,22 @@ ScriptValue WebGLAny(ScriptState* scriptState, WebGLObject* value)
return ScriptValue(scriptState, toV8(value, scriptState->context()->Global(), scriptState->isolate()));
}
-ScriptValue WebGLAny(ScriptState* scriptState, PassRefPtr<DOMFloat32Array> value)
+ScriptValue WebGLAny(ScriptState* scriptState, DOMFloat32Array* value)
{
return ScriptValue(scriptState, toV8(value, scriptState->context()->Global(), scriptState->isolate()));
}
-ScriptValue WebGLAny(ScriptState* scriptState, PassRefPtr<DOMInt32Array> value)
+ScriptValue WebGLAny(ScriptState* scriptState, DOMInt32Array* value)
{
return ScriptValue(scriptState, toV8(value, scriptState->context()->Global(), scriptState->isolate()));
}
-ScriptValue WebGLAny(ScriptState* scriptState, PassRefPtr<DOMUint8Array> value)
+ScriptValue WebGLAny(ScriptState* scriptState, DOMUint8Array* value)
{
return ScriptValue(scriptState, toV8(value, scriptState->context()->Global(), scriptState->isolate()));
}
-ScriptValue WebGLAny(ScriptState* scriptState, PassRefPtr<DOMUint32Array> value)
+ScriptValue WebGLAny(ScriptState* scriptState, DOMUint32Array* value)
{
return ScriptValue(scriptState, toV8(value, scriptState->context()->Global(), scriptState->isolate()));
}

Powered by Google App Engine
This is Rietveld 408576698