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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor2.cpp

Issue 2452403002: [Bindings] Reformat template files (4/4) (Closed)
Patch Set: Rebase Created 4 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: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor2.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor2.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor2.cpp
index 85b8b3a20c561995c0aad21c39a7030dda9e4be4..6d556681cf118a0639a153be9a2a014ac2a8ad46 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor2.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor2.cpp
@@ -55,7 +55,7 @@ static void constructor1(const v8::FunctionCallbackInfo<v8::Value>& info) {
V8StringResource<> stringArg;
stringArg = info[0];
if (!stringArg.prepare())
- return;
+ return;
TestInterfaceConstructor2* impl = TestInterfaceConstructor2::create(stringArg);
v8::Local<v8::Object> wrapper = info.Holder();
@@ -74,7 +74,7 @@ static void constructor2(const v8::FunctionCallbackInfo<v8::Value>& info) {
}
dictionaryArg = Dictionary(info[0], info.GetIsolate(), exceptionState);
if (exceptionState.hadException())
- return;
+ return;
TestInterfaceConstructor2* impl = TestInterfaceConstructor2::create(dictionaryArg);
v8::Local<v8::Object> wrapper = info.Holder();
@@ -88,7 +88,7 @@ static void constructor3(const v8::FunctionCallbackInfo<v8::Value>& info) {
Vector<Vector<String>> stringSequenceSequenceArg;
stringSequenceSequenceArg = toImplArray<Vector<Vector<String>>>(info[0], 1, info.GetIsolate(), exceptionState);
if (exceptionState.hadException())
- return;
+ return;
TestInterfaceConstructor2* impl = TestInterfaceConstructor2::create(stringSequenceSequenceArg);
v8::Local<v8::Object> wrapper = info.Holder();
@@ -120,16 +120,16 @@ static void constructor4(const v8::FunctionCallbackInfo<v8::Value>& info) {
longArg = toInt32(info.GetIsolate(), info[1], NormalConversion, exceptionState);
if (exceptionState.hadException())
- return;
+ return;
defaultUndefinedOptionalStringArg = info[2];
if (!defaultUndefinedOptionalStringArg.prepare())
- return;
+ return;
if (!info[3]->IsUndefined()) {
defaultNullStringOptionalStringArg = info[3];
if (!defaultNullStringOptionalStringArg.prepare())
- return;
+ return;
} else {
defaultNullStringOptionalStringArg = nullptr;
}
@@ -140,7 +140,7 @@ static void constructor4(const v8::FunctionCallbackInfo<v8::Value>& info) {
}
defaultUndefinedOptionalDictionaryArg = Dictionary(info[4], info.GetIsolate(), exceptionState);
if (exceptionState.hadException())
- return;
+ return;
if (UNLIKELY(numArgsPassed <= 5)) {
TestInterfaceConstructor2* impl = TestInterfaceConstructor2::create(testInterfaceEmptyArg, longArg, defaultUndefinedOptionalStringArg, defaultNullStringOptionalStringArg, defaultUndefinedOptionalDictionaryArg);
@@ -151,7 +151,7 @@ static void constructor4(const v8::FunctionCallbackInfo<v8::Value>& info) {
}
optionalStringArg = info[5];
if (!optionalStringArg.prepare())
- return;
+ return;
TestInterfaceConstructor2* impl = TestInterfaceConstructor2::create(testInterfaceEmptyArg, longArg, defaultUndefinedOptionalStringArg, defaultNullStringOptionalStringArg, defaultUndefinedOptionalDictionaryArg, optionalStringArg);
v8::Local<v8::Object> wrapper = info.Holder();

Powered by Google App Engine
This is Rietveld 408576698