summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/autocomplete.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete.cc')
-rw-r--r--chrome/browser/autocomplete/autocomplete.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/autocomplete/autocomplete.cc b/chrome/browser/autocomplete/autocomplete.cc
index e15a190..d45c4a0 100644
--- a/chrome/browser/autocomplete/autocomplete.cc
+++ b/chrome/browser/autocomplete/autocomplete.cc
@@ -903,10 +903,8 @@ void AutocompleteController::CommitIfQueryHasNeverBeenCommitted() {
void AutocompleteController::OnProviderUpdate(bool updated_matches) {
CheckIfDone();
- if (updated_matches || done_) {
+ if (updated_matches || done_)
UpdateLatestResult(false);
- return;
- }
}
void AutocompleteController::UpdateLatestResult(bool is_synchronous_pass) {