| Index: third_party/WebKit/Source/bindings/tests/results/core/V8SVGTestInterface.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8SVGTestInterface.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8SVGTestInterface.cpp
|
| index 8b0ad2539206b543ce3c23281e32fe2826df98b0..3df2d9df40e8a5216c9970fea25e024da5d58790 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/V8SVGTestInterface.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/V8SVGTestInterface.cpp
|
| @@ -50,43 +50,39 @@ static_assert(
|
|
|
| namespace SVGTestInterfaceV8Internal {
|
|
|
| -static void typeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| -{
|
| - v8::Local<v8::Object> holder = info.Holder();
|
| +static void typeAttributeGetter(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + v8::Local<v8::Object> holder = info.Holder();
|
|
|
| - SVGTestInterface* impl = V8SVGTestInterface::toImpl(holder);
|
| + SVGTestInterface* impl = V8SVGTestInterface::toImpl(holder);
|
|
|
| - v8SetReturnValueString(info, impl->fastGetAttribute(SVGNames::typeAttr), info.GetIsolate());
|
| + v8SetReturnValueString(info, impl->fastGetAttribute(SVGNames::typeAttr), info.GetIsolate());
|
| }
|
|
|
| -void typeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| -{
|
| - SVGTestInterfaceV8Internal::typeAttributeGetter(info);
|
| +void typeAttributeGetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + SVGTestInterfaceV8Internal::typeAttributeGetter(info);
|
| }
|
|
|
| -static void typeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info)
|
| -{
|
| - v8::Local<v8::Object> holder = info.Holder();
|
| - SVGTestInterface* impl = V8SVGTestInterface::toImpl(holder);
|
| +static void typeAttributeSetter(v8::Local<v8::Value> v8Value, const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + v8::Local<v8::Object> holder = info.Holder();
|
| + SVGTestInterface* impl = V8SVGTestInterface::toImpl(holder);
|
|
|
| - // Skip on compact node DOMString getters.
|
| - V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
|
| + // Skip on compact node DOMString getters.
|
| + V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
|
|
|
| - // Prepare the value to be set.
|
| - V8StringResource<> cppValue = v8Value;
|
| - if (!cppValue.prepare())
|
| - return;
|
| + // Prepare the value to be set.
|
| + V8StringResource<> cppValue = v8Value;
|
| + if (!cppValue.prepare())
|
| + return;
|
|
|
| - impl->setAttribute(SVGNames::typeAttr, cppValue);
|
| + impl->setAttribute(SVGNames::typeAttr, cppValue);
|
| }
|
|
|
| -void typeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| -{
|
| - v8::Local<v8::Value> v8Value = info[0];
|
| +void typeAttributeSetterCallback(const v8::FunctionCallbackInfo<v8::Value>& info) {
|
| + v8::Local<v8::Value> v8Value = info[0];
|
|
|
| - V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
|
| + V0CustomElementProcessingStack::CallbackDeliveryScope deliveryScope;
|
|
|
| - SVGTestInterfaceV8Internal::typeAttributeSetter(v8Value, info);
|
| + SVGTestInterfaceV8Internal::typeAttributeSetter(v8Value, info);
|
| }
|
|
|
| } // namespace SVGTestInterfaceV8Internal
|
|
|