| Index: chrome/browser/history/url_index_private_data.cc
|
| diff --git a/chrome/browser/history/url_index_private_data.cc b/chrome/browser/history/url_index_private_data.cc
|
| index d4548cb3b4d330674cba92e33fbbd45b56f91ca8..0d94e143d6686ef16d123507dd47230e40a09d89 100644
|
| --- a/chrome/browser/history/url_index_private_data.cc
|
| +++ b/chrome/browser/history/url_index_private_data.cc
|
| @@ -595,10 +595,8 @@ HistoryIDSet URLIndexPrivateData::HistoryIDsForTerm(
|
|
|
| // Filter for each remaining, unique character in the term.
|
| Char16Set leftover_chars = Char16SetFromString16(leftovers);
|
| - Char16Set unique_chars;
|
| - std::set_difference(leftover_chars.begin(), leftover_chars.end(),
|
| - prefix_chars.begin(), prefix_chars.end(),
|
| - std::inserter(unique_chars, unique_chars.begin()));
|
| + Char16Set unique_chars =
|
| + base::STLSetDifference<Char16Set>(leftover_chars, prefix_chars);
|
|
|
| // Reduce the word set with any leftover, unprocessed characters.
|
| if (!unique_chars.empty()) {
|
|
|