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

Unified Diff: Source/bindings/tests/results/V8TestObjectPython.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/V8TestObjectPython.cpp
diff --git a/Source/bindings/tests/results/V8TestObjectPython.cpp b/Source/bindings/tests/results/V8TestObjectPython.cpp
index 32791a805f346969d6947f950ec6d903071c396e..bb7270889e96591566d40c406c494475658d7133 100644
--- a/Source/bindings/tests/results/V8TestObjectPython.cpp
+++ b/Source/bindings/tests/results/V8TestObjectPython.cpp
@@ -3666,7 +3666,7 @@ static void voidMethodUnsignedShortArgMethodCallback(const v8::FunctionCallbackI
static void testInterfaceEmptyMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& args)
{
TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder());
- v8SetReturnValue(args, imp->testInterfaceEmptyMethod(), args.Holder());
+ v8SetReturnValue(args, imp->testInterfaceEmptyMethod());
}
static void testInterfaceEmptyMethodMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& args)
@@ -3898,11 +3898,11 @@ static void testInterfaceEmptyMethodOptionalLongArgMethod(const v8::FunctionCall
{
TestObjectPython* imp = V8TestObjectPython::toNative(args.Holder());
if (UNLIKELY(args.Length() <= 0)) {
- v8SetReturnValue(args, imp->testInterfaceEmptyMethodOptionalLongArg(), args.Holder());
+ v8SetReturnValue(args, imp->testInterfaceEmptyMethodOptionalLongArg());
return;
}
V8TRYCATCH_VOID(int, optionalLongArg, toInt32(args[0]));
- v8SetReturnValue(args, imp->testInterfaceEmptyMethodOptionalLongArg(optionalLongArg), args.Holder());
+ v8SetReturnValue(args, imp->testInterfaceEmptyMethodOptionalLongArg(optionalLongArg));
}
static void testInterfaceEmptyMethodOptionalLongArgMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& args)
« no previous file with comments | « Source/bindings/tests/results/V8TestObjectPython.h ('k') | Source/bindings/tests/results/V8TestOverloadedConstructors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698