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 2ffecaa4015912209e1f077b875ccc746d2702e5..b41bfe57495eff9bf848355b9d09469e5dc8794f 100644 |
--- a/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp |
+++ b/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp |
@@ -228,9 +228,8 @@ void TextFieldInputType::forwardEvent(Event* event) { |
if (PaintLayer* innerLayer = innerEditorLayoutObject->layer()) { |
if (PaintLayerScrollableArea* innerScrollableArea = |
innerLayer->getScrollableArea()) { |
- innerScrollableArea->setScrollPosition( |
- DoublePoint(innerScrollableArea->scrollOrigin()), |
- ProgrammaticScroll, ScrollBehaviorInstant); |
+ innerScrollableArea->setScrollOffset(ScrollOffset(0, 0), |
+ ProgrammaticScroll); |
} |
} |
} |