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

Side by Side Diff: Source/bindings/tests/results/V8TestInterfaceConstructor2.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 "V8TestInterfaceConstructor2.h" 8 #include "V8TestInterfaceConstructor2.h"
9 9
10 #include "RuntimeEnabledFeatures.h" 10 #include "RuntimeEnabledFeatures.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 v8::Handle<v8::Object> wrapper = info.Holder(); 98 v8::Handle<v8::Object> wrapper = info.Holder();
99 V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceConstructor2>(impl.r elease(), &V8TestInterfaceConstructor2::wrapperTypeInfo, wrapper, isolate, Wrapp erConfiguration::Independent); 99 V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceConstructor2>(impl.r elease(), &V8TestInterfaceConstructor2::wrapperTypeInfo, wrapper, isolate, Wrapp erConfiguration::Independent);
100 v8SetReturnValue(info, wrapper); 100 v8SetReturnValue(info, wrapper);
101 } 101 }
102 102
103 static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) 103 static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
104 { 104 {
105 v8::Isolate* isolate = info.GetIsolate(); 105 v8::Isolate* isolate = info.GetIsolate();
106 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInte rfaceConstructor2", info.Holder(), isolate); 106 ExceptionState exceptionState(ExceptionState::ConstructionContext, "TestInte rfaceConstructor2", info.Holder(), isolate);
107 switch (info.Length()) { 107 switch (std::min(6, info.Length())) {
108 case 1: 108 case 1:
109 if (info[0]->IsObject()) { 109 if (info[0]->IsObject()) {
110 TestInterfaceConstructor2V8Internal::constructor2(info); 110 TestInterfaceConstructor2V8Internal::constructor2(info);
111 return; 111 return;
112 } 112 }
113 if (true) { 113 if (true) {
114 TestInterfaceConstructor2V8Internal::constructor1(info); 114 TestInterfaceConstructor2V8Internal::constructor1(info);
115 return; 115 return;
116 } 116 }
117 break; 117 break;
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 fromInternalPointer(object)->deref(); 245 fromInternalPointer(object)->deref();
246 } 246 }
247 247
248 template<> 248 template<>
249 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor2* impl, v8::Handle<v 8::Object> creationContext, v8::Isolate* isolate) 249 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor2* impl, v8::Handle<v 8::Object> creationContext, v8::Isolate* isolate)
250 { 250 {
251 return toV8(impl, creationContext, isolate); 251 return toV8(impl, creationContext, isolate);
252 } 252 }
253 253
254 } // namespace WebCore 254 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestInterfaceConstructor.cpp ('k') | Source/bindings/tests/results/V8TestObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698