| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp
|
| index 9f89f41146888577440146520087a9924defb5a1..4df6b5b58abc2f3ccc7e5996ff78a28779bbe079 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestSpecialOperations.cpp
|
| @@ -55,28 +55,26 @@ static_assert(
|
|
|
| namespace TestSpecialOperationsV8Internal {
|
|
|
| -static void namedItemMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| -{
|
| - TestSpecialOperations* impl = V8TestSpecialOperations::toImpl(info.Holder());
|
| +static void namedItemMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestSpecialOperations* impl = V8TestSpecialOperations::toImpl(info.Holder());
|
|
|
| - if (UNLIKELY(info.Length() < 1)) {
|
| - V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::failedToExecute("namedItem", "TestSpecialOperations", ExceptionMessages::notEnoughArguments(1, info.Length())));
|
| - return;
|
| - }
|
| + if (UNLIKELY(info.Length() < 1)) {
|
| + V8ThrowException::throwTypeError(info.GetIsolate(), ExceptionMessages::failedToExecute("namedItem", "TestSpecialOperations", ExceptionMessages::notEnoughArguments(1, info.Length())));
|
| + return;
|
| + }
|
|
|
| - V8StringResource<> name;
|
| - name = info[0];
|
| - if (!name.prepare())
|
| - return;
|
| + V8StringResource<> name;
|
| + name = info[0];
|
| + if (!name.prepare())
|
| + return;
|
|
|
| - NodeOrNodeList result;
|
| - impl->getItem(name, result);
|
| - v8SetReturnValue(info, result);
|
| + NodeOrNodeList result;
|
| + impl->getItem(name, result);
|
| + v8SetReturnValue(info, result);
|
| }
|
|
|
| -void namedItemMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| -{
|
| - TestSpecialOperationsV8Internal::namedItemMethod(info);
|
| +void namedItemMethodCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestSpecialOperationsV8Internal::namedItemMethod(info);
|
| }
|
|
|
| static void namedPropertyGetter(const AtomicString& name, const v8::PropertyCallbackInfo<v8::Value>& info) {
|
|
|