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

Unified Diff: Source/bindings/tests/results/V8TestInterfaceGarbageCollected.h

Issue 257503003: Oilpan: Enable Oilpan by default in modules/encryptedmedia (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698