| Index: chrome/browser/autocomplete/autocomplete_popup_model.cc
|
| ===================================================================
|
| --- chrome/browser/autocomplete/autocomplete_popup_model.cc (revision 31645)
|
| +++ chrome/browser/autocomplete/autocomplete_popup_model.cc (working copy)
|
| @@ -175,12 +175,7 @@
|
| // 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_;
|
| }
|
|
|