| Index: content/browser/accessibility/ax_platform_position.cc
|
| diff --git a/content/browser/accessibility/ax_platform_position.cc b/content/browser/accessibility/ax_platform_position.cc
|
| index cf01ea9c69ed50d6cc74d5a2193857cfc0eb060d..34d313929c307f958c8924b515d8eccc9621f36b 100644
|
| --- a/content/browser/accessibility/ax_platform_position.cc
|
| +++ b/content/browser/accessibility/ax_platform_position.cc
|
| @@ -109,10 +109,6 @@ int AXPlatformPosition::MaxTextOffsetInParent() const {
|
| return INVALID_OFFSET;
|
| if (GetAnchor()->IsTextOnlyObject())
|
| return MaxTextOffset();
|
| - // Not all objects in the internal accessibility tree are exposed to platform
|
| - // APIs.
|
| - if (GetAnchor()->PlatformIsChildOfLeaf())
|
| - return MaxTextOffset();
|
| return 1;
|
| #else
|
| return MaxTextOffset();
|
|
|