| Index: Source/bindings/core/v8/custom/V8ElementCustom.cpp
|
| diff --git a/Source/bindings/core/v8/custom/V8ElementCustom.cpp b/Source/bindings/core/v8/custom/V8ElementCustom.cpp
|
| index 03744453e4096f4cdadc245a48e5a8501cdf0f2a..1539043cf0333d9dbb830b7907756cc055a84f28 100644
|
| --- a/Source/bindings/core/v8/custom/V8ElementCustom.cpp
|
| +++ b/Source/bindings/core/v8/custom/V8ElementCustom.cpp
|
| @@ -45,38 +45,6 @@
|
|
|
| namespace blink {
|
|
|
| -void V8Element::scrollLeftAttributeSetterCustom(v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info)
|
| -{
|
| - ExceptionState exceptionState(ExceptionState::SetterContext, "scrollLeft", "Element", info.Holder(), info.GetIsolate());
|
| - Element* impl = V8Element::toImpl(info.Holder());
|
| -
|
| - if (RuntimeEnabledFeatures::cssomSmoothScrollEnabled() && value->IsObject()) {
|
| - TONATIVE_VOID(Dictionary, scrollOptionsHorizontal, Dictionary(value, info.GetIsolate(), exceptionState));
|
| - impl->setScrollLeft(scrollOptionsHorizontal, exceptionState);
|
| - exceptionState.throwIfNeeded();
|
| - return;
|
| - }
|
| -
|
| - TONATIVE_VOID_EXCEPTIONSTATE(float, position, toFloat(value, exceptionState), exceptionState);
|
| - impl->setScrollLeft(position);
|
| -}
|
| -
|
| -void V8Element::scrollTopAttributeSetterCustom(v8::Local<v8::Value> value, const v8::PropertyCallbackInfo<void>& info)
|
| -{
|
| - ExceptionState exceptionState(ExceptionState::SetterContext, "scrollTop", "Element", info.Holder(), info.GetIsolate());
|
| - Element* impl = V8Element::toImpl(info.Holder());
|
| -
|
| - if (RuntimeEnabledFeatures::cssomSmoothScrollEnabled() && value->IsObject()) {
|
| - TONATIVE_VOID(Dictionary, scrollOptionsVertical, Dictionary(value, info.GetIsolate(), exceptionState));
|
| - impl->setScrollTop(scrollOptionsVertical, exceptionState);
|
| - exceptionState.throwIfNeeded();
|
| - return;
|
| - }
|
| -
|
| - TONATIVE_VOID_EXCEPTIONSTATE(float, position, toFloat(value, exceptionState), exceptionState);
|
| - impl->setScrollTop(position);
|
| -}
|
| -
|
| ////////////////////////////////////////////////////////////////////////////////
|
| // Overload resolution for animate()
|
| // FIXME: needs support for union types http://crbug.com/240176
|
|
|