| Index: sky/engine/bindings/core/v8/custom/V8ElementCustom.cpp
|
| diff --git a/sky/engine/bindings/core/v8/custom/V8ElementCustom.cpp b/sky/engine/bindings/core/v8/custom/V8ElementCustom.cpp
|
| index 7d6f651dabe96f1552327e30200271752e2ab715..b19c65bbc087087198f01dec173d4447712da707 100644
|
| --- a/sky/engine/bindings/core/v8/custom/V8ElementCustom.cpp
|
| +++ b/sky/engine/bindings/core/v8/custom/V8ElementCustom.cpp
|
| @@ -44,38 +44,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::toNative(info.Holder());
|
| -
|
| - if (RuntimeEnabledFeatures::cssomSmoothScrollEnabled() && value->IsObject()) {
|
| - TONATIVE_VOID(Dictionary, scrollOptionsHorizontal, Dictionary(value, info.GetIsolate()));
|
| - impl->setScrollLeft(scrollOptionsHorizontal, exceptionState);
|
| - exceptionState.throwIfNeeded();
|
| - return;
|
| - }
|
| -
|
| - TONATIVE_VOID_EXCEPTIONSTATE(float, position, toInt32(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::toNative(info.Holder());
|
| -
|
| - if (RuntimeEnabledFeatures::cssomSmoothScrollEnabled() && value->IsObject()) {
|
| - TONATIVE_VOID(Dictionary, scrollOptionsVertical, Dictionary(value, info.GetIsolate()));
|
| - impl->setScrollTop(scrollOptionsVertical, exceptionState);
|
| - exceptionState.throwIfNeeded();
|
| - return;
|
| - }
|
| -
|
| - TONATIVE_VOID_EXCEPTIONSTATE(float, position, toInt32(value, exceptionState), exceptionState);
|
| - impl->setScrollTop(position);
|
| -}
|
| -
|
| ////////////////////////////////////////////////////////////////////////////////
|
| // Overload resolution for animate()
|
| // FIXME: needs support for union types http://crbug.com/240176
|
|
|