| Index: third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp
|
| index e7cb1ce9b4459867ffc50d659a9919e4fa44bff3..bf6e3b3278d0b28765881bdd11e7f38f680a10bd 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestIntegerIndexed.cpp
|
| @@ -50,40 +50,36 @@ static_assert(
|
|
|
| namespace TestIntegerIndexedV8Internal {
|
|
|
| -static void lengthAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| -{
|
| - v8::Local<v8::Object> holder = info.Holder();
|
| +static void lengthAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + v8::Local<v8::Object> holder = info.Holder();
|
|
|
| - TestIntegerIndexed* impl = V8TestIntegerIndexed::toImpl(holder);
|
| + TestIntegerIndexed* impl = V8TestIntegerIndexed::toImpl(holder);
|
|
|
| - v8SetReturnValueInt(info, impl->length());
|
| + v8SetReturnValueInt(info, impl->length());
|
| }
|
|
|
| -void lengthAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| -{
|
| - TestIntegerIndexedV8Internal::lengthAttributeGetter(info);
|
| +void lengthAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + TestIntegerIndexedV8Internal::lengthAttributeGetter(info);
|
| }
|
|
|
| -static void lengthAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info)
|
| -{
|
| - v8::Local<v8::Object> holder = info.Holder();
|
| - TestIntegerIndexed* impl = V8TestIntegerIndexed::toImpl(holder);
|
| +static void lengthAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| + TestIntegerIndexed* impl = V8TestIntegerIndexed::toImpl(holder);
|
|
|
| - ExceptionState exceptionState(info.GetIsolate(), ExceptionState::SetterContext, "TestIntegerIndexed", "length");
|
| + ExceptionState exceptionState(info.GetIsolate(), ExceptionState::SetterContext, "TestIntegerIndexed", "length");
|
|
|
| - // Prepare the value to be set.
|
| - int cppValue = toInt16(info.GetIsolate(), v8Value, NormalConversion, exceptionState);
|
| - if (exceptionState.hadException())
|
| - return;
|
| + // Prepare the value to be set.
|
| + int cppValue = toInt16(info.GetIsolate(), v8Value, NormalConversion, exceptionState);
|
| + if (exceptionState.hadException())
|
| + return;
|
|
|
| - impl->setLength(cppValue);
|
| + impl->setLength(cppValue);
|
| }
|
|
|
| -void lengthAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| -{
|
| - v8::Local<v8::Value> v8Value = info[0];
|
| +void lengthAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + v8::Local<v8::Value> v8Value = info[0];
|
|
|
| - TestIntegerIndexedV8Internal::lengthAttributeSetter(v8Value, info);
|
| + TestIntegerIndexedV8Internal::lengthAttributeSetter(v8Value, info);
|
| }
|
|
|
| static void voidMethodDocumentMethod(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
|
|