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

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

Issue 291563004: Overload resolution: ignore extra arguments (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaseline Created 6 years, 7 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 "V8TestInterfaceConstructor.h" 8 #include "V8TestInterfaceConstructor.h"
9 9
10 #include "RuntimeEnabledFeatures.h" 10 #include "RuntimeEnabledFeatures.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 v8::Handle<v8::Object> wrapper = info.Holder(); 92 v8::Handle<v8::Object> wrapper = info.Holder();
93 V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceConstructor>(impl.re lease(), &V8TestInterfaceConstructor::wrapperTypeInfo, wrapper, isolate, Wrapper Configuration::Independent); 93 V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceConstructor>(impl.re lease(), &V8TestInterfaceConstructor::wrapperTypeInfo, wrapper, isolate, Wrapper Configuration::Independent);
94 v8SetReturnValue(info, wrapper); 94 v8SetReturnValue(info, wrapper);
95 } 95 }
96 96
97 static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) 97 static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
98 { 98 {
99 v8::Isolate* isolate = info.GetIsolate(); 99 v8::Isolate* isolate = info.GetIsolate();
100 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInte rfaceConstructor", info.Holder(), isolate); 100 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInte rfaceConstructor", info.Holder(), isolate);
101 switch (info.Length()) { 101 switch (std::min(8, info.Length())) {
102 case 0: 102 case 0:
103 if (true) { 103 if (true) {
104 TestInterfaceConstructorV8Internal::constructor1(info); 104 TestInterfaceConstructorV8Internal::constructor1(info);
105 return; 105 return;
106 } 106 }
107 break; 107 break;
108 case 6: 108 case 6:
109 if (true) { 109 if (true) {
110 TestInterfaceConstructorV8Internal::constructor2(info); 110 TestInterfaceConstructorV8Internal::constructor2(info);
111 return; 111 return;
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 fromInternalPointer(object)->deref(); 228 fromInternalPointer(object)->deref();
229 } 229 }
230 230
231 template<> 231 template<>
232 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor* impl, v8::Handle<v8 ::Object> creationContext, v8::Isolate* isolate) 232 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor* impl, v8::Handle<v8 ::Object> creationContext, v8::Isolate* isolate)
233 { 233 {
234 return toV8(impl, creationContext, isolate); 234 return toV8(impl, creationContext, isolate);
235 } 235 }
236 236
237 } // namespace WebCore 237 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/templates/methods.cpp ('k') | Source/bindings/tests/results/V8TestInterfaceConstructor2.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698