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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceOriginTrialEnabled.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/V8TestInterfaceOriginTrialEnabled.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceOriginTrialEnabled.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceOriginTrialEnabled.cpp
index 413343ae6ad8f1dfb4f9d455d6313669a533eb36..be5e86f00140bc8a1b387fa510d42bef395b5856 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceOriginTrialEnabled.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceOriginTrialEnabled.cpp
@@ -70,7 +70,7 @@ static void doubleAttributeAttributeSetter(v8::Local<v8::Value> v8Value, const v
// Prepare the value to be set.
double cppValue = toRestrictedDouble(info.GetIsolate(), v8Value, exceptionState);
if (exceptionState.hadException())
- return;
+ return;
impl->setDoubleAttribute(cppValue);
}
@@ -102,7 +102,7 @@ static void conditionalLongAttributeAttributeSetter(v8::Local<v8::Value> v8Value
// Prepare the value to be set.
int cppValue = toInt32(info.GetIsolate(), v8Value, NormalConversion, exceptionState);
if (exceptionState.hadException())
- return;
+ return;
impl->setConditionalLongAttribute(cppValue);
}
@@ -137,7 +137,7 @@ static void staticStringAttributeAttributeSetter(v8::Local<v8::Value> v8Value, c
// Prepare the value to be set.
V8StringResource<> cppValue = v8Value;
if (!cppValue.prepare())
- return;
+ return;
TestInterfaceOriginTrialEnabled::setStaticStringAttribute(cppValue);
}
@@ -170,11 +170,11 @@ static void voidMethodDoubleArgFloatArgMethod(const v8::FunctionCallbackInfo<v8:
float floatArg;
doubleArg = toRestrictedDouble(info.GetIsolate(), info[0], exceptionState);
if (exceptionState.hadException())
- return;
+ return;
floatArg = toRestrictedFloat(info.GetIsolate(), info[1], exceptionState);
if (exceptionState.hadException())
- return;
+ return;
impl->voidMethodDoubleArgFloatArg(doubleArg, floatArg);
}
@@ -197,7 +197,7 @@ static void voidMethodPartialOverload2Method(const v8::FunctionCallbackInfo<v8::
double doubleArg;
doubleArg = toRestrictedDouble(info.GetIsolate(), info[0], exceptionState);
if (exceptionState.hadException())
- return;
+ return;
impl->voidMethodPartialOverload(doubleArg);
}

Powered by Google App Engine
This is Rietveld 408576698