| Index: Source/bindings/v8/custom/V8ElementCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8ElementCustom.cpp b/Source/bindings/v8/custom/V8ElementCustom.cpp
|
| index 4a0b44b11cf326ba3561893b9cd97b81a8647e8c..0083ac9b055b4d49e0cf9d00156eca1081372a36 100644
|
| --- a/Source/bindings/v8/custom/V8ElementCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8ElementCustom.cpp
|
| @@ -57,7 +57,7 @@ void V8Element::scrollLeftAttributeSetterCustom(v8::Local<v8::Value> value, cons
|
| return;
|
| }
|
|
|
| - TONATIVE_VOID_EXCEPTIONSTATE(float, position, toFloat(value, exceptionState), exceptionState);
|
| + TONATIVE_VOID_EXCEPTIONSTATE(float, position, toInt32(value, exceptionState), exceptionState);
|
| impl->setScrollLeft(position);
|
| }
|
|
|
| @@ -73,7 +73,7 @@ void V8Element::scrollTopAttributeSetterCustom(v8::Local<v8::Value> value, const
|
| return;
|
| }
|
|
|
| - TONATIVE_VOID_EXCEPTIONSTATE(float, position, toFloat(value, exceptionState), exceptionState);
|
| + TONATIVE_VOID_EXCEPTIONSTATE(float, position, toInt32(value, exceptionState), exceptionState);
|
| impl->setScrollTop(position);
|
| }
|
|
|
|
|