Index: chrome/browser/views/page_info_bubble_view.cc |
=================================================================== |
--- chrome/browser/views/page_info_bubble_view.cc (revision 57972) |
+++ chrome/browser/views/page_info_bubble_view.cc (working copy) |
@@ -310,10 +310,14 @@ |
// Find where to point the bubble at. |
BrowserView* browser_view = |
BrowserView::GetBrowserViewForNativeWindow(parent); |
- gfx::Rect bounds = browser_view->toolbar()->location_bar()->bounds(); |
gfx::Point point; |
+ if (base::i18n::IsRTL()) { |
+ int width = browser_view->toolbar()->location_bar()->width(); |
+ point = gfx::Point(width - kIconOffset, 0); |
+ } |
views::View::ConvertPointToScreen(browser_view->toolbar()->location_bar(), |
&point); |
+ gfx::Rect bounds = browser_view->toolbar()->location_bar()->bounds(); |
bounds.set_origin(point); |
bounds.set_width(kIconOffset); |