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 6113a0991cfec87de33aa9946c695ef9cab53c8b..ecd99514a3b4d4d2a40377f626b313cfab205f87 100644 |
--- a/chrome/browser/ui/views/frame/browser_view.cc |
+++ b/chrome/browser/ui/views/frame/browser_view.cc |
@@ -790,8 +790,13 @@ void BrowserView::BookmarkBarStateChanged( |
bookmark_bar_view_->SetBookmarkBarState(new_state, change_type); |
} |
- if (MaybeShowBookmarkBar(GetActiveWebContents())) |
+ if (MaybeShowBookmarkBar(GetActiveWebContents())) { |
Layout(); |
+ content::RenderWidgetHostView* rwhv = |
sky
2015/03/25 20:45:36
Won't Layout() end up in ContentsLayoutManager and
scottmg
2015/03/25 22:22:06
Yeah, it does. On the initial navigate, the delega
|
+ GetActiveWebContents()->GetRenderWidgetHostView(); |
+ if (rwhv) |
+ rwhv->SetSize(contents_container_->size()); |
+ } |
} |
void BrowserView::UpdateDevTools() { |