| Index: Source/core/dom/Element.cpp
|
| diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp
|
| index 6fe332d9b542020cbfff2fe2f868bc1fc7651c17..3fbc3c43508309278c1bade06826703856a2de2e 100644
|
| --- a/Source/core/dom/Element.cpp
|
| +++ b/Source/core/dom/Element.cpp
|
| @@ -679,7 +679,7 @@ void Element::setScrollLeft(double newLeft)
|
| if (!view)
|
| return;
|
|
|
| - view->setScrollPosition(IntPoint(roundf(newLeft * frame->pageZoomFactor()), view->scrollY()));
|
| + view->setScrollPosition(DoublePoint(newLeft * frame->pageZoomFactor(), view->scrollY()));
|
| }
|
| }
|
|
|
| @@ -725,7 +725,7 @@ void Element::setScrollTop(double newTop)
|
| if (!view)
|
| return;
|
|
|
| - view->setScrollPosition(IntPoint(view->scrollX(), roundf(newTop * frame->pageZoomFactor())));
|
| + view->setScrollPosition(DoublePoint(view->scrollX(), newTop * frame->pageZoomFactor()));
|
| }
|
| }
|
|
|
|
|