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

Unified Diff: Source/bindings/tests/results/core/V8TestInterface.h

Issue 1083003004: bindings: Moves toV8 and v8SetReturnValue out to ToV8.h and V8Binding.h. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 5 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/core/V8TestInterface.h
diff --git a/Source/bindings/tests/results/core/V8TestInterface.h b/Source/bindings/tests/results/core/V8TestInterface.h
index f2cb4ab1d11da557bd0a95b0ecccc3bcc8327027..d9f6c384a606d436966976891651c04b37549fb6 100644
--- a/Source/bindings/tests/results/core/V8TestInterface.h
+++ b/Source/bindings/tests/results/core/V8TestInterface.h
@@ -64,24 +64,6 @@ private:
static InstallTemplateFunction installV8TestInterfaceTemplateFunction;
};
-template<typename CallbackInfo>
-inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestInterfaceImplementation* impl)
-{
- v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()));
-}
-
-template<typename CallbackInfo>
-inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, TestInterfaceImplementation* impl)
-{
- v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()));
-}
-
-template<typename CallbackInfo>
-inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, TestInterfaceImplementation* impl, const ScriptWrappable*)
-{
- v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInfo.GetIsolate()));
-}
-
template <>
struct V8TypeOf<TestInterfaceImplementation> {
typedef V8TestInterface Type;
« no previous file with comments | « Source/bindings/tests/idls/modules/TestInterface5.idl ('k') | Source/bindings/tests/results/modules/V8TestInterface5.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698