| Index: chrome/browser/autocomplete/autocomplete.cc
|
| diff --git a/chrome/browser/autocomplete/autocomplete.cc b/chrome/browser/autocomplete/autocomplete.cc
|
| index d624d37a821fdf1e16a7462f60d7621302051530..a2659b6641b785b29ab9e15f968c2578b831a6ec 100644
|
| --- a/chrome/browser/autocomplete/autocomplete.cc
|
| +++ b/chrome/browser/autocomplete/autocomplete.cc
|
| @@ -802,9 +802,11 @@ void AutocompleteController::DeleteMatch(const AutocompleteMatch& match) {
|
| DCHECK(match.deletable);
|
| match.provider->DeleteMatch(match); // This may synchronously call back to
|
| // OnProviderUpdate().
|
| + DCHECK(updated_latest_result_);
|
| CommitResult(true); // Ensure any new result gets committed immediately. If
|
| // it was committed already or hasn't been modified, this
|
| - // is harmless.
|
| + // is harmless. We need to notify the edit box, because
|
| + // the default match may have been changed.
|
| }
|
|
|
| void AutocompleteController::CommitIfQueryHasNeverBeenCommitted() {
|
|
|