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

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: update another test 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 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);
« no previous file with comments | « no previous file | chrome/browser/ui/browser_instant_controller.cc » ('j') | chrome/browser/ui/omnibox/omnibox_edit_model.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698