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

Unified Diff: components/omnibox/browser/omnibox_edit_model.cc

Issue 1305163010: Fixing bug in ethersuggest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/omnibox/browser/omnibox_edit_model.cc
diff --git a/components/omnibox/browser/omnibox_edit_model.cc b/components/omnibox/browser/omnibox_edit_model.cc
index 8b2355f16ce103e8f99e1ca56298835f60aea2c0..c6767dd9f85e37172eaee3c04cb6776360d347ce 100644
--- a/components/omnibox/browser/omnibox_edit_model.cc
+++ b/components/omnibox/browser/omnibox_edit_model.cc
@@ -512,7 +512,7 @@ void OmniboxEditModel::StartAutocomplete(
}
GURL current_url;
- if (client_->CurrentPageExists() && view_->IsIndicatingQueryRefinement())
+ if (client_->CurrentPageExists())
current_url = client_->GetURL();
input_ = AutocompleteInput(
user_text_, cursor_position, std::string(), current_url, ClassifyPage(),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698