summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/gtk/browser_window_gtk.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/gtk/browser_window_gtk.cc b/chrome/browser/gtk/browser_window_gtk.cc
index b8328ee..1279dac 100644
--- a/chrome/browser/gtk/browser_window_gtk.cc
+++ b/chrome/browser/gtk/browser_window_gtk.cc
@@ -876,12 +876,6 @@ void BrowserWindowGtk::UpdateTitleBar() {
gtk_window_set_title(window_, UTF16ToUTF8(title).c_str());
if (ShouldShowWindowIcon())
titlebar_->UpdateTitleAndIcon();
-
- // We need to update the bookmark bar state if we're navigating away from the
- // NTP and "always show bookmark bar" is not set. On Windows,
- // UpdateTitleBar() causes a layout in BrowserView which checks to see if
- // the bookmarks bar should be shown.
- ShelfVisibilityChanged();
}
void BrowserWindowGtk::ShelfVisibilityChanged() {