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

Side by Side Diff: Source/bindings/modules/v8/WebGLAny.cpp

Issue 1234883002: [Oilpan] Migrate classes under module/webgl onto oilpan heap (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 4 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 unified diff | Download patch
« no previous file with comments | « Source/bindings/modules/v8/WebGLAny.h ('k') | Source/modules/webgl/ANGLEInstancedArrays.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 #include "bindings/modules/v8/WebGLAny.h" 6 #include "bindings/modules/v8/WebGLAny.h"
7 7
8 #include "bindings/core/v8/ToV8.h" 8 #include "bindings/core/v8/ToV8.h"
9 #include "wtf/text/WTFString.h" 9 #include "wtf/text/WTFString.h"
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 ScriptValue WebGLAny(ScriptState* scriptState, float value) 43 ScriptValue WebGLAny(ScriptState* scriptState, float value)
44 { 44 {
45 return ScriptValue(scriptState, v8::Number::New(scriptState->isolate(), valu e)); 45 return ScriptValue(scriptState, v8::Number::New(scriptState->isolate(), valu e));
46 } 46 }
47 47
48 ScriptValue WebGLAny(ScriptState* scriptState, String value) 48 ScriptValue WebGLAny(ScriptState* scriptState, String value)
49 { 49 {
50 return ScriptValue(scriptState, v8String(scriptState->isolate(), value)); 50 return ScriptValue(scriptState, v8String(scriptState->isolate(), value));
51 } 51 }
52 52
53 ScriptValue WebGLAny(ScriptState* scriptState, PassRefPtrWillBeRawPtr<WebGLObjec t> value) 53 ScriptValue WebGLAny(ScriptState* scriptState, WebGLObject* value)
54 { 54 {
55 return ScriptValue(scriptState, toV8(value, scriptState->context()->Global() , scriptState->isolate())); 55 return ScriptValue(scriptState, toV8(value, scriptState->context()->Global() , scriptState->isolate()));
56 } 56 }
57 57
58 ScriptValue WebGLAny(ScriptState* scriptState, PassRefPtr<DOMFloat32Array> value ) 58 ScriptValue WebGLAny(ScriptState* scriptState, PassRefPtr<DOMFloat32Array> value )
59 { 59 {
60 return ScriptValue(scriptState, toV8(value, scriptState->context()->Global() , scriptState->isolate())); 60 return ScriptValue(scriptState, toV8(value, scriptState->context()->Global() , scriptState->isolate()));
61 } 61 }
62 62
63 ScriptValue WebGLAny(ScriptState* scriptState, PassRefPtr<DOMInt32Array> value) 63 ScriptValue WebGLAny(ScriptState* scriptState, PassRefPtr<DOMInt32Array> value)
64 { 64 {
65 return ScriptValue(scriptState, toV8(value, scriptState->context()->Global() , scriptState->isolate())); 65 return ScriptValue(scriptState, toV8(value, scriptState->context()->Global() , scriptState->isolate()));
66 } 66 }
67 67
68 ScriptValue WebGLAny(ScriptState* scriptState, PassRefPtr<DOMUint8Array> value) 68 ScriptValue WebGLAny(ScriptState* scriptState, PassRefPtr<DOMUint8Array> value)
69 { 69 {
70 return ScriptValue(scriptState, toV8(value, scriptState->context()->Global() , scriptState->isolate())); 70 return ScriptValue(scriptState, toV8(value, scriptState->context()->Global() , scriptState->isolate()));
71 } 71 }
72 72
73 ScriptValue WebGLAny(ScriptState* scriptState, PassRefPtr<DOMUint32Array> value) 73 ScriptValue WebGLAny(ScriptState* scriptState, PassRefPtr<DOMUint32Array> value)
74 { 74 {
75 return ScriptValue(scriptState, toV8(value, scriptState->context()->Global() , scriptState->isolate())); 75 return ScriptValue(scriptState, toV8(value, scriptState->context()->Global() , scriptState->isolate()));
76 } 76 }
77 77
78 } // namespace blink 78 } // namespace blink
OLDNEW
« no previous file with comments | « Source/bindings/modules/v8/WebGLAny.h ('k') | Source/modules/webgl/ANGLEInstancedArrays.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698