Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(948)

Unified Diff: chrome/browser/views/info_bubble.cc

Issue 209024: Fix the Linux Views build, sigh. We need a trybot. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/info_bubble.cc
===================================================================
--- chrome/browser/views/info_bubble.cc (revision 26497)
+++ chrome/browser/views/info_bubble.cc (working copy)
@@ -266,9 +266,10 @@
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.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698