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

Unified Diff: Source/bindings/tests/results/V8TestEventTarget.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
« no previous file with comments | « Source/bindings/tests/results/V8TestEventTarget.h ('k') | Source/bindings/tests/results/V8TestException.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/tests/results/V8TestEventTarget.cpp
diff --git a/Source/bindings/tests/results/V8TestEventTarget.cpp b/Source/bindings/tests/results/V8TestEventTarget.cpp
index 7af786bd40f4e3bf5da6ba2898dba2eb6cb86cb6..13619d15de0336bc60099111be87d843104bfd19 100644
--- a/Source/bindings/tests/results/V8TestEventTarget.cpp
+++ b/Source/bindings/tests/results/V8TestEventTarget.cpp
@@ -73,7 +73,7 @@ static void itemMethod(const v8::FunctionCallbackInfo<v8::Value>& args)
}
TestEventTarget* imp = V8TestEventTarget::toNative(args.Holder());
V8TRYCATCH_VOID(unsigned, index, toUInt32(args[0]));
- v8SetReturnValue(args, imp->item(index), args.Holder());
+ v8SetReturnValue(args, imp->item(index));
}
static void itemMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& args)
@@ -91,7 +91,7 @@ static void namedItemMethod(const v8::FunctionCallbackInfo<v8::Value>& args)
}
TestEventTarget* imp = V8TestEventTarget::toNative(args.Holder());
V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, name, args[0]);
- v8SetReturnValue(args, imp->namedItem(name), args.Holder());
+ v8SetReturnValue(args, imp->namedItem(name));
}
static void namedItemMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& args)
« no previous file with comments | « Source/bindings/tests/results/V8TestEventTarget.h ('k') | Source/bindings/tests/results/V8TestException.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698