Index: chrome/browser/ui/omnibox/omnibox_edit_model.cc |
diff --git a/chrome/browser/ui/omnibox/omnibox_edit_model.cc b/chrome/browser/ui/omnibox/omnibox_edit_model.cc |
index 69b4f5b9e37d7d38111ced970d91743218cc2e39..9d3b5976c784f145800e7030f5c7877dae7bcb70 100644 |
--- a/chrome/browser/ui/omnibox/omnibox_edit_model.cc |
+++ b/chrome/browser/ui/omnibox/omnibox_edit_model.cc |
@@ -297,11 +297,6 @@ AutocompleteMatch OmniboxEditModel::CurrentMatch( |
} |
bool OmniboxEditModel::UpdatePermanentText() { |
- SearchProvider* search_provider = |
- autocomplete_controller()->search_provider(); |
- if (search_provider && delegate_->CurrentPageExists()) |
- search_provider->set_current_page_url(delegate_->GetURL()); |
- |
// When there's new permanent text, and the user isn't interacting with the |
// omnibox, we want to revert the edit to show the new text. We could simply |
// define "interacting" as "the omnibox has focus", but we still allow updates |