| OLD | NEW |
| 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 "V8TestInterfaceConstructor3.h" | 8 #include "V8TestInterfaceConstructor3.h" |
| 9 | 9 |
| 10 #include "RuntimeEnabledFeatures.h" | 10 #include "RuntimeEnabledFeatures.h" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 | 45 |
| 46 static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) | 46 static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) |
| 47 { | 47 { |
| 48 v8::Isolate* isolate = info.GetIsolate(); | 48 v8::Isolate* isolate = info.GetIsolate(); |
| 49 if (UNLIKELY(info.Length() < 1)) { | 49 if (UNLIKELY(info.Length() < 1)) { |
| 50 throwMinimumArityTypeErrorForConstructor("TestInterfaceConstructor3", 1,
info.Length(), info.GetIsolate()); | 50 throwMinimumArityTypeErrorForConstructor("TestInterfaceConstructor3", 1,
info.Length(), info.GetIsolate()); |
| 51 return; | 51 return; |
| 52 } | 52 } |
| 53 V8StringResource<> stringArg; | 53 V8StringResource<> stringArg; |
| 54 { | 54 { |
| 55 TOSTRING_VOID_INTERNAL_NOTRYCATCH(stringArg, info[0]); | 55 TOSTRING_VOID_INTERNAL(stringArg, info[0]); |
| 56 } | 56 } |
| 57 RefPtr<TestInterfaceConstructor3> impl = TestInterfaceConstructor3::create(s
tringArg); | 57 RefPtr<TestInterfaceConstructor3> impl = TestInterfaceConstructor3::create(s
tringArg); |
| 58 | 58 |
| 59 v8::Handle<v8::Object> wrapper = info.Holder(); | 59 v8::Handle<v8::Object> wrapper = info.Holder(); |
| 60 V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceConstructor3>(impl.r
elease(), &V8TestInterfaceConstructor3::wrapperTypeInfo, wrapper, isolate, Wrapp
erConfiguration::Independent); | 60 V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceConstructor3>(impl.r
elease(), &V8TestInterfaceConstructor3::wrapperTypeInfo, wrapper, isolate, Wrapp
erConfiguration::Independent); |
| 61 v8SetReturnValue(info, wrapper); | 61 v8SetReturnValue(info, wrapper); |
| 62 } | 62 } |
| 63 | 63 |
| 64 } // namespace TestInterfaceConstructor3V8Internal | 64 } // namespace TestInterfaceConstructor3V8Internal |
| 65 | 65 |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 fromInternalPointer(object)->deref(); | 152 fromInternalPointer(object)->deref(); |
| 153 } | 153 } |
| 154 | 154 |
| 155 template<> | 155 template<> |
| 156 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor3* impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) | 156 v8::Handle<v8::Value> toV8NoInline(TestInterfaceConstructor3* impl, v8::Handle<v
8::Object> creationContext, v8::Isolate* isolate) |
| 157 { | 157 { |
| 158 return toV8(impl, creationContext, isolate); | 158 return toV8(impl, creationContext, isolate); |
| 159 } | 159 } |
| 160 | 160 |
| 161 } // namespace WebCore | 161 } // namespace WebCore |
| OLD | NEW |