| Index: third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp b/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp
|
| index 04e7e95366f6a0136ed2297eed95163c70bb80cb..2ffecaa4015912209e1f077b875ccc746d2702e5 100644
|
| --- a/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp
|
| +++ b/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp
|
| @@ -228,13 +228,9 @@ void TextFieldInputType::forwardEvent(Event* event) {
|
| if (PaintLayer* innerLayer = innerEditorLayoutObject->layer()) {
|
| if (PaintLayerScrollableArea* innerScrollableArea =
|
| innerLayer->getScrollableArea()) {
|
| - IntSize scrollOffset(
|
| - !layoutTextControl->style()->isLeftToRightDirection()
|
| - ? innerScrollableArea->scrollWidth().toInt()
|
| - : 0,
|
| - 0);
|
| - innerScrollableArea->scrollToOffset(scrollOffset,
|
| - ScrollOffsetClamped);
|
| + innerScrollableArea->setScrollPosition(
|
| + DoublePoint(innerScrollableArea->scrollOrigin()),
|
| + ProgrammaticScroll, ScrollBehaviorInstant);
|
| }
|
| }
|
| }
|
|
|