Index: third_party/WebKit/Source/core/html/TextControlElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/TextControlElement.cpp b/third_party/WebKit/Source/core/html/TextControlElement.cpp |
index d05dac2d0005878ceda446a2f871fca6c263b76d..284c4111e1a86db4b5cb763b6ed663795295f32e 100644 |
--- a/third_party/WebKit/Source/core/html/TextControlElement.cpp |
+++ b/third_party/WebKit/Source/core/html/TextControlElement.cpp |
@@ -459,7 +459,7 @@ bool TextControlElement::CacheSelection(unsigned start, |
VisiblePosition TextControlElement::VisiblePositionForIndex(int index) const { |
if (index <= 0) |
- return VisiblePosition::FirstPositionInNode(InnerEditorElement()); |
+ return VisiblePosition::FirstPositionInNode(*InnerEditorElement()); |
Position start, end; |
bool selected = Range::selectNodeContents(InnerEditorElement(), start, end); |
if (!selected) |