summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-17 22:12:18 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-17 22:12:18 +0000
commit38b7422971b554a0d376a39baee6af2bf60888c4 (patch)
tree0b3c3fd680e90f6e089a715e42c89ac1affda794 /chrome
parentc48c61ba5360114271bf6cb1412a2c3b413a7da9 (diff)
downloadchromium_src-38b7422971b554a0d376a39baee6af2bf60888c4.zip
chromium_src-38b7422971b554a0d376a39baee6af2bf60888c4.tar.gz
chromium_src-38b7422971b554a0d376a39baee6af2bf60888c4.tar.bz2
Fix the Linux Views build, sigh. We need a trybot.
BUG=21028 TEST=none Review URL: http://codereview.chromium.org/209024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26502 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/views/info_bubble.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/browser/views/info_bubble.cc b/chrome/browser/views/info_bubble.cc
index df7cc7d..92dd6f7 100644
--- a/chrome/browser/views/info_bubble.cc
+++ b/chrome/browser/views/info_bubble.cc
@@ -266,9 +266,10 @@ void InfoBubble::Init(views::Window* parent,
BorderContents* border_contents = new BorderContents;
gfx::Rect contents_bounds;
border_contents->InitAndGetBounds(position_relative_to,
- contents->GetPreferredSize(), is_rtl, &contents_bounds, &window_bounds);
+ contents->GetPreferredSize(), contents->UILayoutIsRightToLeft(),
+ &contents_bounds, &window_bounds);
// This new view must be added before |contents| so it will paint under it.
- contents_view->AddChildView(border_contents, 0);
+ contents_view->AddChildView(0, border_contents);
// |contents_view| has no layout manager, so we have to explicitly position
// its children.