| Index: components/autofill/core/browser/autocomplete_history_manager.cc
 | 
| diff --git a/components/autofill/core/browser/autocomplete_history_manager.cc b/components/autofill/core/browser/autocomplete_history_manager.cc
 | 
| index 44e766660ead2209857df440c279c8a45a6b0a3a..2c1fac8ae3abb338c0d358c6449f5c518485e966 100644
 | 
| --- a/components/autofill/core/browser/autocomplete_history_manager.cc
 | 
| +++ b/components/autofill/core/browser/autocomplete_history_manager.cc
 | 
| @@ -103,6 +103,7 @@ void AutocompleteHistoryManager::OnGetAutocompleteSuggestions(
 | 
|    }
 | 
|  
 | 
|    if (database_.get()) {
 | 
| +    pending_query_prefix_ = prefix;
 | 
|      pending_query_handle_ = database_->GetFormValuesForElementName(
 | 
|          name, prefix, kMaxAutocompleteMenuItems, this);
 | 
|    }
 | 
| @@ -175,8 +176,11 @@ void AutocompleteHistoryManager::SendSuggestions(
 | 
|          }
 | 
|        }
 | 
|  
 | 
| -      if (unique)
 | 
| -        autofill_suggestions_.push_back(Suggestion(new_result));
 | 
| +      if (unique) {
 | 
| +        Suggestion s(new_result);
 | 
| +        s.match_start = pending_query_prefix_.size();
 | 
| +        autofill_suggestions_.push_back(s);
 | 
| +      }
 | 
|      }
 | 
|    }
 | 
|  
 | 
| 
 |