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

Unified Diff: chrome/browser/autocomplete/autocomplete_edit_view_win.cc

Issue 3056003: Attemp 2 at: (Closed)
Patch Set: Fix chromeos breakage Created 10 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/browser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/autocomplete_edit_view_win.cc
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_win.cc b/chrome/browser/autocomplete/autocomplete_edit_view_win.cc
index 901416d61c05e714fd9347d50f90aa2cbe6df7e7..1182059e4155100edae7efdb6b43b2ebcd13c5d3 100644
--- a/chrome/browser/autocomplete/autocomplete_edit_view_win.cc
+++ b/chrome/browser/autocomplete/autocomplete_edit_view_win.cc
@@ -511,13 +511,6 @@ void AutocompleteEditViewWin::SaveStateToTab(TabContents* tab) {
void AutocompleteEditViewWin::Update(
const TabContents* tab_for_state_restoring) {
- // If we're switching to a tab with a collapsed toolbar, bail
- // now, since we won't be showing the Omnibox anyway, and
- // executing the code below just results in a flicker before
- // the toolbar hides.
- if (tab_for_state_restoring && tab_for_state_restoring->is_app())
- return;
-
const bool visibly_changed_permanent_text =
model_->UpdatePermanentText(toolbar_model_->GetText());
« no previous file with comments | « no previous file | chrome/browser/browser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698