Index: Source/bindings/tests/results/modules/V8TestInterface5.cpp |
diff --git a/Source/bindings/tests/results/modules/V8TestInterface5.cpp b/Source/bindings/tests/results/modules/V8TestInterface5.cpp |
index 9d9870e0ec7275661a5fa69d1f9ea789b924d88b..3c2d6834ee5870a214603f66db5478fcc06e4fa4 100644 |
--- a/Source/bindings/tests/results/modules/V8TestInterface5.cpp |
+++ b/Source/bindings/tests/results/modules/V8TestInterface5.cpp |
@@ -36,6 +36,18 @@ const WrapperTypeInfo& TestInterface5Implementation::s_wrapperTypeInfo = V8TestI |
namespace TestInterface5ImplementationV8Internal { |
+template<class CallbackInfo> |
+static void TestInterface5ImplementationForceSetAttributeOnThis(v8::Local<v8::String> name, v8::Local<v8::Value> v8Value, const CallbackInfo& info) |
+{ |
+ if (info.This()->IsObject()) |
+ v8::Local<v8::Object>::Cast(info.This())->ForceSet(name, v8Value); |
+} |
+ |
+static void TestInterface5ImplementationForceSetAttributeOnThisCallback(v8::Local<v8::String> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
+{ |
+ TestInterface5ImplementationV8Internal::TestInterface5ImplementationForceSetAttributeOnThis(name, v8Value, info); |
+} |
+ |
static void testInterfaceAttributeAttributeGetter(const v8::PropertyCallbackInfo<v8::Value>& info) |
{ |
v8::Local<v8::Object> holder = info.Holder(); |
@@ -332,17 +344,6 @@ static void TestInterface5ImplementationConstructorGetter(v8::Local<v8::String>, |
v8SetReturnValue(info, perContextData->constructorForType(WrapperTypeInfo::unwrap(data))); |
} |
-static void TestInterface5ImplementationForceSetAttributeOnThis(v8::Local<v8::String> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
-{ |
- if (info.This()->IsObject()) |
- v8::Local<v8::Object>::Cast(info.This())->ForceSet(name, v8Value); |
-} |
- |
-static void TestInterface5ImplementationForceSetAttributeOnThisCallback(v8::Local<v8::String> name, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
-{ |
- TestInterface5ImplementationV8Internal::TestInterface5ImplementationForceSetAttributeOnThis(name, v8Value, info); |
-} |
- |
static void voidMethodTestInterfaceEmptyArgMethod(const v8::FunctionCallbackInfo<v8::Value>& info) |
{ |
if (UNLIKELY(info.Length() < 1)) { |