| Index: chrome/browser/ui/views/frame/browser_view.cc
|
| diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
|
| index 2a3d284d246b607ab95d9220ab99acb0e78c72af..6ea244e2fefc27a8ff70348622e9d4a3917c5c53 100644
|
| --- a/chrome/browser/ui/views/frame/browser_view.cc
|
| +++ b/chrome/browser/ui/views/frame/browser_view.cc
|
| @@ -2320,6 +2320,8 @@ void BrowserView::UpdateDevToolsSplitPosition() {
|
|
|
| void BrowserView::UpdateUIForContents(WebContents* contents) {
|
| bool needs_layout = MaybeShowBookmarkBar(contents);
|
| + // TODO(jamescook): This function always returns true. Remove it and figure
|
| + // out when layout is actually required.
|
| needs_layout |= MaybeShowInfoBar(contents);
|
| if (needs_layout)
|
| Layout();
|
|
|