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

Side by Side Diff: Source/bindings/tests/results/core/V8TestNode.cpp

Issue 823093002: [bindings] Make v8_class::install[v8_class]Template use Local<>. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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. DO NOT MODIFY! 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
6 6
7 #include "config.h" 7 #include "config.h"
8 #include "V8TestNode.h" 8 #include "V8TestNode.h"
9 9
10 #include "bindings/core/v8/ExceptionState.h" 10 #include "bindings/core/v8/ExceptionState.h"
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 } 176 }
177 177
178 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis tingObject) { 178 if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::WrapExis tingObject) {
179 v8SetReturnValue(info, info.Holder()); 179 v8SetReturnValue(info, info.Holder());
180 return; 180 return;
181 } 181 }
182 182
183 TestNodeV8Internal::constructor(info); 183 TestNodeV8Internal::constructor(info);
184 } 184 }
185 185
186 static void installV8TestNodeTemplate(v8::Handle<v8::FunctionTemplate> functionT emplate, v8::Isolate* isolate) 186 static void installV8TestNodeTemplate(v8::Local<v8::FunctionTemplate> functionTe mplate, v8::Isolate* isolate)
187 { 187 {
188 functionTemplate->ReadOnlyPrototype(); 188 functionTemplate->ReadOnlyPrototype();
189 189
190 v8::Local<v8::Signature> defaultSignature; 190 v8::Local<v8::Signature> defaultSignature;
191 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestNode", V8Node::domTemplate(isolate), V8TestNode::internalFiel dCount, 191 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate, func tionTemplate, "TestNode", V8Node::domTemplate(isolate), V8TestNode::internalFiel dCount,
192 V8TestNodeAttributes, WTF_ARRAY_LENGTH(V8TestNodeAttributes), 192 V8TestNodeAttributes, WTF_ARRAY_LENGTH(V8TestNodeAttributes),
193 0, 0, 193 0, 0,
194 0, 0); 194 0, 0);
195 functionTemplate->SetCallHandler(V8TestNode::constructorCallback); 195 functionTemplate->SetCallHandler(V8TestNode::constructorCallback);
196 functionTemplate->SetLength(0); 196 functionTemplate->SetLength(0);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 } 231 }
232 232
233 void V8TestNode::derefObject(ScriptWrappable* scriptWrappable) 233 void V8TestNode::derefObject(ScriptWrappable* scriptWrappable)
234 { 234 {
235 #if !ENABLE(OILPAN) 235 #if !ENABLE(OILPAN)
236 scriptWrappable->toImpl<TestNode>()->deref(); 236 scriptWrappable->toImpl<TestNode>()->deref();
237 #endif 237 #endif
238 } 238 }
239 239
240 } // namespace blink 240 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698