| Index: content/browser/accessibility/browser_accessibility.cc
|
| diff --git a/content/browser/accessibility/browser_accessibility.cc b/content/browser/accessibility/browser_accessibility.cc
|
| index 0fdad54c91c4ef45eac37bfd034aba1e3c644049..c2262d3389bd31c5a5755fea1b03bd8a8dc6cc6b 100644
|
| --- a/content/browser/accessibility/browser_accessibility.cc
|
| +++ b/content/browser/accessibility/browser_accessibility.cc
|
| @@ -262,28 +262,28 @@ gfx::Rect BrowserAccessibility::GetLocalBoundsForRange(int start, int len)
|
| gfx::Rect child_overlap_rect;
|
| switch (text_direction) {
|
| case ui::AX_TEXT_DIRECTION_NONE:
|
| - case ui::AX_TEXT_DIRECTION_LR: {
|
| + case ui::AX_TEXT_DIRECTION_LTR: {
|
| int left = child_rect.x() + start_pixel_offset;
|
| int right = child_rect.x() + end_pixel_offset;
|
| child_overlap_rect = gfx::Rect(left, child_rect.y(),
|
| right - left, child_rect.height());
|
| break;
|
| }
|
| - case ui::AX_TEXT_DIRECTION_RL: {
|
| + case ui::AX_TEXT_DIRECTION_RTL: {
|
| int right = child_rect.right() - start_pixel_offset;
|
| int left = child_rect.right() - end_pixel_offset;
|
| child_overlap_rect = gfx::Rect(left, child_rect.y(),
|
| right - left, child_rect.height());
|
| break;
|
| }
|
| - case ui::AX_TEXT_DIRECTION_TB: {
|
| + case ui::AX_TEXT_DIRECTION_TTB: {
|
| int top = child_rect.y() + start_pixel_offset;
|
| int bottom = child_rect.y() + end_pixel_offset;
|
| child_overlap_rect = gfx::Rect(child_rect.x(), top,
|
| child_rect.width(), bottom - top);
|
| break;
|
| }
|
| - case ui::AX_TEXT_DIRECTION_BT: {
|
| + case ui::AX_TEXT_DIRECTION_BTT: {
|
| int bottom = child_rect.bottom() - start_pixel_offset;
|
| int top = child_rect.bottom() - end_pixel_offset;
|
| child_overlap_rect = gfx::Rect(child_rect.x(), top,
|
|
|