Index: chrome/browser/views/toolbar_view.cc |
=================================================================== |
--- chrome/browser/views/toolbar_view.cc (revision 14954) |
+++ chrome/browser/views/toolbar_view.cc (working copy) |
@@ -872,7 +872,10 @@ |
gfx::Rect popup_bounds(origin.x(), origin.y(), |
star_->width() + location_bar_->width() + go_->width(), |
0); |
- popup_bounds.set_x(popup_bounds.x()); |
+ if (UILayoutIsRightToLeft()) |
+ popup_bounds.set_x(popup_bounds.x() - location_bar_->width() - go_->width()); |
+ else |
+ popup_bounds.set_x(popup_bounds.x()); |
popup_bounds.set_y(popup_bounds.y()); |
popup_bounds.set_width(popup_bounds.width()); |
// Inset the bounds a little, since the buttons on either edge of the omnibox |