Index: Source/WebCore/accessibility/AccessibilityRenderObject.cpp |
=================================================================== |
--- Source/WebCore/accessibility/AccessibilityRenderObject.cpp (revision 88774) |
+++ Source/WebCore/accessibility/AccessibilityRenderObject.cpp (working copy) |
@@ -2490,7 +2490,7 @@ |
int AccessibilityRenderObject::indexForVisiblePosition(const VisiblePosition& pos) const |
{ |
if (isNativeTextControl()) |
- return toRenderTextControl(m_renderer)->indexForVisiblePosition(pos); |
+ return RenderTextControl::indexForVisiblePosition(toRenderTextControl(m_renderer)->innerTextElement(), pos); |
if (!isTextControl()) |
return 0; |