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 a17897f271f3c462dfe582f290db11ef35317c38..419676549e569e41efc8922d7b7c593e5e42fed3 100644 |
--- a/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp |
+++ b/third_party/WebKit/Source/core/html/forms/TextFieldInputType.cpp |
@@ -231,7 +231,7 @@ void TextFieldInputType::forwardEvent(Event* event) |
if (LayoutBox* innerEditorLayoutObject = element().innerEditorElement()->layoutBox()) { |
// FIXME: This class has no need to know about PaintLayer! |
if (PaintLayer* innerLayer = innerEditorLayoutObject->layer()) { |
- if (PaintLayerScrollableArea* innerScrollableArea = innerLayer->scrollableArea()) { |
+ if (PaintLayerScrollableArea* innerScrollableArea = innerLayer->getScrollableArea()) { |
IntSize scrollOffset(!layoutTextControl->style()->isLeftToRightDirection() ? innerScrollableArea->scrollWidth().toInt() : 0, 0); |
innerScrollableArea->scrollToOffset(scrollOffset, ScrollOffsetClamped); |
} |