Index: Source/core/rendering/RenderTextControlSingleLine.cpp |
diff --git a/Source/core/rendering/RenderTextControlSingleLine.cpp b/Source/core/rendering/RenderTextControlSingleLine.cpp |
index 3bf5188c5e9f3c4ec41ca79650dc8e33f0beb14f..fa36083019a7ec8178bc0e4a7177df67073bb45e 100644 |
--- a/Source/core/rendering/RenderTextControlSingleLine.cpp |
+++ b/Source/core/rendering/RenderTextControlSingleLine.cpp |
@@ -424,16 +424,16 @@ int RenderTextControlSingleLine::scrollTop() const |
return RenderBlock::scrollTop(); |
} |
-void RenderTextControlSingleLine::setScrollLeft(int newLeft) |
+void RenderTextControlSingleLine::setScrollLeft(int newLeft, ScrollBehavior scrollBehavior) |
{ |
if (innerTextElement()) |
- innerTextElement()->setScrollLeft(newLeft); |
+ innerTextElement()->setScrollLeft(newLeft, scrollBehavior); |
} |
-void RenderTextControlSingleLine::setScrollTop(int newTop) |
+void RenderTextControlSingleLine::setScrollTop(int newTop, ScrollBehavior scrollBehavior) |
{ |
if (innerTextElement()) |
- innerTextElement()->setScrollTop(newTop); |
+ innerTextElement()->setScrollTop(newTop, scrollBehavior); |
} |
HTMLInputElement* RenderTextControlSingleLine::inputElement() const |