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/V8TestTypedefs.cpp

Issue 15290002: Rebaseline bindings test results after r150554. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 7 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/V8TestOverloadedConstructors.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/tests/results/V8TestTypedefs.cpp
diff --git a/Source/bindings/tests/results/V8TestTypedefs.cpp b/Source/bindings/tests/results/V8TestTypedefs.cpp
index 65bec490809262be230a8a3483581492a7f5f643..1d41504eb67c199df5c4a6ad01078e01767c9ab2 100644
--- a/Source/bindings/tests/results/V8TestTypedefs.cpp
+++ b/Source/bindings/tests/results/V8TestTypedefs.cpp
@@ -244,7 +244,6 @@ static void TestTypedefsReplaceableAttrSetterCallback(v8::Local<v8::String> name
static v8::Handle<v8::Value> funcMethod(const v8::Arguments& args)
{
TestTypedefs* imp = V8TestTypedefs::toNative(args.Holder());
- ExceptionCode ec = 0;
if (args.Length() <= 0) {
imp->func();
return v8Undefined();
@@ -264,7 +263,6 @@ static v8::Handle<v8::Value> setShadowMethod(const v8::Arguments& args)
if (args.Length() < 3)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestTypedefs* imp = V8TestTypedefs::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(float, width, static_cast<float>(args[0]->NumberValue()));
V8TRYCATCH(float, height, static_cast<float>(args[1]->NumberValue()));
V8TRYCATCH(float, blur, static_cast<float>(args[2]->NumberValue()));
@@ -292,7 +290,6 @@ static v8::Handle<v8::Value> methodWithSequenceArgMethod(const v8::Arguments& ar
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestTypedefs* imp = V8TestTypedefs::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(Vector<RefPtr<SerializedScriptValue> >, sequenceArg, (toRefPtrNativeArray<SerializedScriptValue, V8SerializedScriptValue>(args[0], args.GetIsolate())));
return v8::Number::New(static_cast<double>(imp->methodWithSequenceArg(sequenceArg)));
}
@@ -307,7 +304,6 @@ static v8::Handle<v8::Value> nullableArrayArgMethod(const v8::Arguments& args)
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestTypedefs* imp = V8TestTypedefs::toNative(args.Holder());
- ExceptionCode ec = 0;
V8TRYCATCH(Vector<String>, arrayArg, toNativeArray<String>(args[0]));
imp->nullableArrayArg(arrayArg);
return v8Undefined();
@@ -323,7 +319,6 @@ static v8::Handle<v8::Value> funcWithClampMethod(const v8::Arguments& args)
if (args.Length() < 1)
return throwNotEnoughArgumentsError(args.GetIsolate());
TestTypedefs* imp = V8TestTypedefs::toNative(args.Holder());
- ExceptionCode ec = 0;
unsigned long long arg1 = 0;
V8TRYCATCH(double, arg1NativeValue, args[0]->NumberValue());
if (!std::isnan(arg1NativeValue))
@@ -411,8 +406,6 @@ static v8::Handle<v8::Value> constructor(const v8::Arguments& args)
{
if (args.Length() < 2)
return throwNotEnoughArgumentsError(args.GetIsolate());
-
- ExceptionCode ec = 0;
V8TRYCATCH_FOR_V8STRINGRESOURCE(V8StringResource<>, hello, args[0]);
if (args.Length() <= 1 || !args[1]->IsFunction())
return throwTypeError(0, args.GetIsolate());
« no previous file with comments | « Source/bindings/tests/results/V8TestOverloadedConstructors.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698