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

Unified Diff: Source/bindings/tests/results/V8TestInterface.cpp

Issue 50073004: We don't need to pass |creationContext| to v8SetReturnValue family (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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/V8TestInterface.cpp
diff --git a/Source/bindings/tests/results/V8TestInterface.cpp b/Source/bindings/tests/results/V8TestInterface.cpp
index c34b055f0716e8315fe841aaa38c56224b3cde87..38fce73b0382855020a9296aabf38eeedf979f80 100644
--- a/Source/bindings/tests/results/V8TestInterface.cpp
+++ b/Source/bindings/tests/results/V8TestInterface.cpp
@@ -559,7 +559,7 @@ static void implementsMethod2Method(const v8::FunctionCallbackInfo<v8::Value>& a
RefPtr<TestObj> result = TestImplements::implementsMethod2(scriptContext, imp, strArg, objArg, es);
if (es.throwIfNeeded())
return;
- v8SetReturnValue(args, result.release(), args.Holder());
+ v8SetReturnValue(args, result.release());
}
static void implementsMethod2MethodCallback(const v8::FunctionCallbackInfo<v8::Value>& args)
@@ -625,7 +625,7 @@ static void supplementalMethod2Method(const v8::FunctionCallbackInfo<v8::Value>&
RefPtr<TestObj> result = TestPartialInterface::supplementalMethod2(scriptContext, imp, strArg, objArg, es);
if (es.throwIfNeeded())
return;
- v8SetReturnValue(args, result.release(), args.Holder());
+ v8SetReturnValue(args, result.release());
}
#endif // ENABLE(Condition11) || ENABLE(Condition12)
« no previous file with comments | « Source/bindings/tests/results/V8TestInterface.h ('k') | Source/bindings/tests/results/V8TestInterfaceEmpty.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698