Chromium Code Reviews| Index: Source/WebCore/accessibility/AccessibilityListBoxOption.cpp |
| diff --git a/Source/WebCore/accessibility/AccessibilityListBoxOption.cpp b/Source/WebCore/accessibility/AccessibilityListBoxOption.cpp |
| index 1f87fd42542e53b18c565ff24777ab3096f6ce73..9fc115a546aa77313eca3d4fa1fd3629ee59fbe4 100644 |
| --- a/Source/WebCore/accessibility/AccessibilityListBoxOption.cpp |
| +++ b/Source/WebCore/accessibility/AccessibilityListBoxOption.cpp |
| @@ -106,10 +106,10 @@ LayoutRect AccessibilityListBoxOption::elementRect() const |
| if (!listBoxRenderer) |
| return rect; |
| - LayoutRect parentRect = listBoxRenderer->document()->axObjectCache()->getOrCreate(listBoxRenderer)->boundingBoxRect(); |
| - int index = listBoxOptionIndex(); |
| - if (index != -1) |
| - rect = toRenderListBox(listBoxRenderer)->itemBoundingBoxRect(parentRect.location(), index); |
| +// LayoutRect parentRect = listBoxRenderer->document()->axObjectCache()->getOrCreate(listBoxRenderer)->boundingBoxRect(); |
|
ojan
2013/04/22 07:55:57
Was this intentional? We should never commit comme
|
| +// int index = listBoxOptionIndex(); |
| +// if (index != -1) |
| +// rect = toRenderListBox(listBoxRenderer)->itemBoundingBoxRect(parentRect.location(), index); |
| return rect; |
| } |