Index: Source/bindings/tests/results/V8TestInterfaceGarbageCollected.h |
diff --git a/Source/bindings/tests/results/V8TestInterfaceGarbageCollected.h b/Source/bindings/tests/results/V8TestInterfaceGarbageCollected.h |
index 1a87c29a8d591f797781c9ad1a8a928bce1badd9..357d00517fc102cf5be8518954d12c92f7d4fedc 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceGarbageCollected.h |
+++ b/Source/bindings/tests/results/V8TestInterfaceGarbageCollected.h |
@@ -107,6 +107,28 @@ inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, TestInterface |
v8SetReturnValue(callbackInfo, wrapper); |
} |
+inline v8::Handle<v8::Value> toV8(RawPtr<TestInterfaceGarbageCollected> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
+{ |
+ return toV8(impl.get(), creationContext, isolate); |
+} |
+ |
+template<class CallbackInfo> |
+inline void v8SetReturnValue(const CallbackInfo& callbackInfo, RawPtr<TestInterfaceGarbageCollected> impl) |
+{ |
+ v8SetReturnValue(callbackInfo, impl.get()); |
+} |
+ |
+template<class CallbackInfo> |
+inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, RawPtr<TestInterfaceGarbageCollected> impl) |
+{ |
+ v8SetReturnValueForMainWorld(callbackInfo, impl.get()); |
+} |
+ |
+template<class CallbackInfo, class Wrappable> |
+inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, RawPtr<TestInterfaceGarbageCollected> impl, Wrappable* wrappable) |
+{ |
+ v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); |
+} |
} |
#endif // V8TestInterfaceGarbageCollected_h |