Index: Source/core/rendering/RenderTextControlSingleLine.cpp |
diff --git a/Source/core/rendering/RenderTextControlSingleLine.cpp b/Source/core/rendering/RenderTextControlSingleLine.cpp |
index fd820ce6c4b1e807bf0c5cfaf0eec63ce775fddc..f256b19d44ae92585b53531c4ca231b200d0e252 100644 |
--- a/Source/core/rendering/RenderTextControlSingleLine.cpp |
+++ b/Source/core/rendering/RenderTextControlSingleLine.cpp |
@@ -452,8 +452,14 @@ bool RenderTextControlSingleLine::scroll(ScrollDirection direction, ScrollGranul |
if (!renderer) |
return false; |
RenderLayer* layer = renderer->layer(); |
- if (layer && layer->scroll(direction, granularity, multiplier)) |
+ |
+ // Use the forced touch scroll method since the text control wont have scrollbars |
+ if (layer && layer->touchScroll(direction, granularity, multiplier)) { |
+ if (stopNode) |
+ *stopNode = node(); |
+ |
return true; |
+ } |
return RenderBlock::scroll(direction, granularity, multiplier, stopNode); |
} |