Index: chrome/browser/ui/browser.cc |
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
index f9166935761c7c5c543bf8cc40e7e359e03eca98..761b9f75da026c25528ad019b539de5d8c94e4bc 100644 |
--- a/chrome/browser/ui/browser.cc |
+++ b/chrome/browser/ui/browser.cc |
@@ -1049,7 +1049,7 @@ void Browser::ActiveTabChanged(WebContents* old_contents, |
ProcessPendingUIUpdates(); |
// Propagate the profile to the location bar. |
- UpdateToolbar(true); |
+ UpdateToolbar(!was_replaced); |
// Propagate tab state to toolbar, tab-strip, etc. |
UpdateSearchState(new_contents); |