summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/autocomplete')
-rw-r--r--chrome/browser/autocomplete/autocomplete_popup_model.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_popup_model.cc b/chrome/browser/autocomplete/autocomplete_popup_model.cc
index c3147c1..8b0c9d1 100644
--- a/chrome/browser/autocomplete/autocomplete_popup_model.cc
+++ b/chrome/browser/autocomplete/autocomplete_popup_model.cc
@@ -175,12 +175,7 @@ GURL AutocompletePopupModel::URLsForCurrentSelection(
// If there are no results, the popup should be closed (so we should have
// failed the CHECK above), and URLsForDefaultMatch() should have been
// called instead.
- if (result->empty()) {
- // We're going to checkfail, but first see whether
- // controller_->latest_result() is actually in sync with |result|.
- CHECK(controller_->latest_result().empty());
- CHECK(false);
- }
+ CHECK(!result->empty());
CHECK(selected_line_ < result->size());
match = result->begin() + selected_line_;
}