Index: Source/WebCore/accessibility/AccessibilityRenderObject.cpp |
=================================================================== |
--- Source/WebCore/accessibility/AccessibilityRenderObject.cpp (revision 88773) |
+++ Source/WebCore/accessibility/AccessibilityRenderObject.cpp (working copy) |
@@ -2499,7 +2499,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; |