Searched refs:max_total_matches (Results 1 – 1 of 1) sorted by relevance
574 const size_t max_total_matches = kMaxMatches + 1; // 1 for "what you typed" in ConvertResultsToAutocompleteMatches() local576 matches_.begin() + std::min(max_total_matches, matches_.size()), in ConvertResultsToAutocompleteMatches()578 if (matches_.size() > max_total_matches) in ConvertResultsToAutocompleteMatches()579 matches_.erase(matches_.begin() + max_total_matches, matches_.end()); in ConvertResultsToAutocompleteMatches()