Index: chrome/browser/ui/browser.cc |
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc |
index 9f73bae4554812e904ce349281e8688c70127255..f92ad4343e7a24ab6d692b381d03d4960c9acc44 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); |