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

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/core/V8Uint8ClampedArray.h

Issue 2653153003: Emit trace(Visitor*) rather than a templated trace(). (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 unified diff | Download patch
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 // This file has been auto-generated by code_generator_v8.py. 5 // This file has been auto-generated by code_generator_v8.py.
6 // DO NOT MODIFY! 6 // DO NOT MODIFY!
7 7
8 // This file has been generated from the Jinja2 template in 8 // This file has been generated from the Jinja2 template in
9 // third_party/WebKit/Source/bindings/templates/interface.h.tmpl 9 // third_party/WebKit/Source/bindings/templates/interface.h.tmpl
10 10
(...skipping 13 matching lines...) Expand all
24 #include "platform/heap/Handle.h" 24 #include "platform/heap/Handle.h"
25 25
26 namespace blink { 26 namespace blink {
27 27
28 class V8Uint8ClampedArray { 28 class V8Uint8ClampedArray {
29 STATIC_ONLY(V8Uint8ClampedArray); 29 STATIC_ONLY(V8Uint8ClampedArray);
30 public: 30 public:
31 CORE_EXPORT static TestUint8ClampedArray* toImpl(v8::Local<v8::Object> object) ; 31 CORE_EXPORT static TestUint8ClampedArray* toImpl(v8::Local<v8::Object> object) ;
32 CORE_EXPORT static TestUint8ClampedArray* toImplWithTypeCheck(v8::Isolate*, v8 ::Local<v8::Value>); 32 CORE_EXPORT static TestUint8ClampedArray* toImplWithTypeCheck(v8::Isolate*, v8 ::Local<v8::Value>);
33 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo; 33 CORE_EXPORT static const WrapperTypeInfo wrapperTypeInfo;
34 template<typename VisitorDispatcher> 34 static void trace(Visitor* visitor, ScriptWrappable* scriptWrappable) {
35 static void trace(VisitorDispatcher visitor, ScriptWrappable* scriptWrappable) {
36 visitor->trace(scriptWrappable->toImpl<TestUint8ClampedArray>()); 35 visitor->trace(scriptWrappable->toImpl<TestUint8ClampedArray>());
37 } 36 }
38 static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrap pable) { 37 static void traceWrappers(WrapperVisitor* visitor, ScriptWrappable* scriptWrap pable) {
39 visitor->traceWrappers(scriptWrappable->toImpl<TestUint8ClampedArray>()); 38 visitor->traceWrappers(scriptWrappable->toImpl<TestUint8ClampedArray>());
40 } 39 }
41 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0; 40 static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
42 }; 41 };
43 42
44 template <> 43 template <>
45 struct V8TypeOf<TestUint8ClampedArray> { 44 struct V8TypeOf<TestUint8ClampedArray> {
46 typedef V8Uint8ClampedArray Type; 45 typedef V8Uint8ClampedArray Type;
47 }; 46 };
48 47
49 } // namespace blink 48 } // namespace blink
50 49
51 #endif // V8Uint8ClampedArray_h 50 #endif // V8Uint8ClampedArray_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698