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

Side by Side Diff: Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp

Issue 234403004: Rename V8TRYCATCH_* macros in v8/V8BindingMacros.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: BOOL*_BOOL -> BOOL* Created 6 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 unified diff | Download patch | Annotate | Revision Log
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 "V8TestInterfaceNamedConstructor2.h" 8 #include "V8TestInterfaceNamedConstructor2.h"
9 9
10 #include "RuntimeEnabledFeatures.h" 10 #include "RuntimeEnabledFeatures.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 ASSERT(document); 64 ASSERT(document);
65 65
66 // Make sure the document is added to the DOM Node map. Otherwise, the TestI nterfaceNamedConstructor2 instance 66 // Make sure the document is added to the DOM Node map. Otherwise, the TestI nterfaceNamedConstructor2 instance
67 // may end up being the only node in the map and get garbage-collected prema turely. 67 // may end up being the only node in the map and get garbage-collected prema turely.
68 toV8(document, info.Holder(), isolate); 68 toV8(document, info.Holder(), isolate);
69 69
70 if (UNLIKELY(info.Length() < 1)) { 70 if (UNLIKELY(info.Length() < 1)) {
71 throwArityTypeErrorForConstructor("TestInterfaceNamedConstructor2", 1, i nfo.Length(), info.GetIsolate()); 71 throwArityTypeErrorForConstructor("TestInterfaceNamedConstructor2", 1, i nfo.Length(), info.GetIsolate());
72 return; 72 return;
73 } 73 }
74 V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, stringArg, info[0]) ; 74 TOSTRING_VOID(V8StringResource<>, stringArg, info[0]);
75 RefPtr<TestInterfaceNamedConstructor2> impl = TestInterfaceNamedConstructor2 ::createForJSConstructor(*document, stringArg); 75 RefPtr<TestInterfaceNamedConstructor2> impl = TestInterfaceNamedConstructor2 ::createForJSConstructor(*document, stringArg);
76 76
77 v8::Handle<v8::Object> wrapper = info.Holder(); 77 v8::Handle<v8::Object> wrapper = info.Holder();
78 V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceNamedConstructor2>(i mpl.release(), &V8TestInterfaceNamedConstructor2Constructor::wrapperTypeInfo, wr apper, isolate, WrapperConfiguration::Independent); 78 V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceNamedConstructor2>(i mpl.release(), &V8TestInterfaceNamedConstructor2Constructor::wrapperTypeInfo, wr apper, isolate, WrapperConfiguration::Independent);
79 v8SetReturnValue(info, wrapper); 79 v8SetReturnValue(info, wrapper);
80 } 80 }
81 81
82 v8::Handle<v8::FunctionTemplate> V8TestInterfaceNamedConstructor2Constructor::do mTemplate(v8::Isolate* isolate) 82 v8::Handle<v8::FunctionTemplate> V8TestInterfaceNamedConstructor2Constructor::do mTemplate(v8::Isolate* isolate)
83 { 83 {
84 static int domTemplateKey; // This address is used for a key to look up the dom template. 84 static int domTemplateKey; // This address is used for a key to look up the dom template.
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 fromInternalPointer(object)->deref(); 168 fromInternalPointer(object)->deref();
169 } 169 }
170 170
171 template<> 171 template<>
172 v8::Handle<v8::Value> toV8NoInline(TestInterfaceNamedConstructor2* impl, v8::Han dle<v8::Object> creationContext, v8::Isolate* isolate) 172 v8::Handle<v8::Value> toV8NoInline(TestInterfaceNamedConstructor2* impl, v8::Han dle<v8::Object> creationContext, v8::Isolate* isolate)
173 { 173 {
174 return toV8(impl, creationContext, isolate); 174 return toV8(impl, creationContext, isolate);
175 } 175 }
176 176
177 } // namespace WebCore 177 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698