Index: chrome/browser/autocomplete/autocomplete.cc |
diff --git a/chrome/browser/autocomplete/autocomplete.cc b/chrome/browser/autocomplete/autocomplete.cc |
index ab47a127a44cba3023e660dd27cd0a025ee68b0f..6a0c6408cd05d9783eacdd6c715de2f2fb06f284 100644 |
--- a/chrome/browser/autocomplete/autocomplete.cc |
+++ b/chrome/browser/autocomplete/autocomplete.cc |
@@ -797,7 +797,8 @@ void AutocompleteController::DeleteMatch(const AutocompleteMatch& match) { |
// OnProviderUpdate(). |
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() { |