Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1030)

Unified Diff: chrome/browser/ui/browser.cc

Issue 12792013: Instant extended: Remove suggest commit on lost focus (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address pkasting review comments Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « no previous file | chrome/browser/ui/browser_instant_controller.cc » ('j') | chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698