summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/autocomplete_edit_view_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_edit_view_win.cc')
-rw-r--r--chrome/browser/autocomplete/autocomplete_edit_view_win.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_edit_view_win.cc b/chrome/browser/autocomplete/autocomplete_edit_view_win.cc
index 901416d..1182059 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());