Index: Source/core/rendering/RenderTextControlSingleLine.cpp |
diff --git a/Source/core/rendering/RenderTextControlSingleLine.cpp b/Source/core/rendering/RenderTextControlSingleLine.cpp |
index daa68ce334ab9afce8a667b1fbff93d7248526ca..c04cdaefc16358ba4a28d9553dfb4f692a541044 100644 |
--- a/Source/core/rendering/RenderTextControlSingleLine.cpp |
+++ b/Source/core/rendering/RenderTextControlSingleLine.cpp |
@@ -400,16 +400,16 @@ LayoutUnit RenderTextControlSingleLine::scrollTop() const |
return RenderBlockFlow::scrollTop(); |
} |
-void RenderTextControlSingleLine::setScrollLeft(LayoutUnit newLeft) |
+void RenderTextControlSingleLine::setScrollLeft(LayoutUnit newLeft, ScrollBehavior scrollBehavior) |
{ |
if (innerEditorElement()) |
- innerEditorElement()->setScrollLeft(newLeft); |
+ innerEditorElement()->setScrollLeft(newLeft, scrollBehavior); |
} |
-void RenderTextControlSingleLine::setScrollTop(LayoutUnit newTop) |
+void RenderTextControlSingleLine::setScrollTop(LayoutUnit newTop, ScrollBehavior scrollBehavior) |
{ |
if (innerEditorElement()) |
- innerEditorElement()->setScrollTop(newTop); |
+ innerEditorElement()->setScrollTop(newTop, scrollBehavior); |
} |
HTMLInputElement* RenderTextControlSingleLine::inputElement() const |