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

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

Issue 11722020: Omnibox: Make HistoryQuick provider not re-issue queries if |minimal_changes| is true (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 12 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 | « chrome/browser/autocomplete/history_quick_provider.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/history_quick_provider.cc
diff --git a/chrome/browser/autocomplete/history_quick_provider.cc b/chrome/browser/autocomplete/history_quick_provider.cc
index 3d0e07e17a6aa934bfe1bed33f3744c9d641bee3..f9546773f09a092eb12f1ffe9a60353cfe225bec 100644
--- a/chrome/browser/autocomplete/history_quick_provider.cc
+++ b/chrome/browser/autocomplete/history_quick_provider.cc
@@ -118,6 +118,8 @@ HistoryQuickProvider::HistoryQuickProvider(
void HistoryQuickProvider::Start(const AutocompleteInput& input,
bool minimal_changes) {
+ if (minimal_changes)
+ return;
matches_.clear();
if (disabled_)
return;
« no previous file with comments | « chrome/browser/autocomplete/history_quick_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698