summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/browser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/browser.cc')
-rw-r--r--chrome/browser/ui/browser.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 98afd97..dc2f63c 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -2175,6 +2175,11 @@ void Browser::UpdateBookmarkBarState(BookmarkBarStateChangeReason reason) {
bookmark_bar_state_ = state;
+ // Inform NTP page of change in bookmark bar state, so that it can adjust the
+ // theme image top offset if necessary.
+ if (instant_controller_)
+ instant_controller_->UpdateThemeInfo(true);
+
if (!window_)
return; // This is called from the constructor when window_ is NULL.