| Index: Source/core/accessibility/AccessibilityListBoxOption.cpp
|
| diff --git a/Source/core/accessibility/AccessibilityListBoxOption.cpp b/Source/core/accessibility/AccessibilityListBoxOption.cpp
|
| index dd3dbe98f9fb67857c66605887c8521da3b740a6..4956237ee3a091f8fd49330923a58c2f1f0ed0a6 100644
|
| --- a/Source/core/accessibility/AccessibilityListBoxOption.cpp
|
| +++ b/Source/core/accessibility/AccessibilityListBoxOption.cpp
|
| @@ -106,7 +106,7 @@ LayoutRect AccessibilityListBoxOption::elementRect() const
|
| if (!listBoxRenderer)
|
| return rect;
|
|
|
| - LayoutRect parentRect = listBoxRenderer->document()->axObjectCache()->getOrCreate(listBoxRenderer)->boundingBoxRect();
|
| + LayoutRect parentRect = listBoxRenderer->document()->axObjectCache()->getOrCreate(listBoxRenderer)->elementRect();
|
| int index = listBoxOptionIndex();
|
| if (index != -1)
|
| rect = toRenderListBox(listBoxRenderer)->itemBoundingBoxRect(parentRect.location(), index);
|
|
|