Index: chrome/browser/autocomplete/in_memory_url_index_unittest.cc |
diff --git a/chrome/browser/autocomplete/in_memory_url_index_unittest.cc b/chrome/browser/autocomplete/in_memory_url_index_unittest.cc |
index dc2e2dcae7099403c93d323381d3957bbfcf3282..c4d97788cb2f0c5415038bc90a5ba757d08d6fd9 100644 |
--- a/chrome/browser/autocomplete/in_memory_url_index_unittest.cc |
+++ b/chrome/browser/autocomplete/in_memory_url_index_unittest.cc |
@@ -13,6 +13,7 @@ |
#include "base/path_service.h" |
#include "base/run_loop.h" |
#include "base/strings/string16.h" |
+#include "base/strings/string_split.h" |
#include "base/strings/string_util.h" |
#include "base/strings/stringprintf.h" |
#include "base/strings/utf_string_conversions.h" |
@@ -68,7 +69,9 @@ void StringToTerms(const char* search_string, |
lower_string->insert(cursor_position, base::ASCIIToUTF16(" ")); |
} |
- Tokenize(*lower_string, base::kWhitespaceUTF16, lower_terms); |
+ *lower_terms = base::SplitString(*lower_string, base::kWhitespaceUTF16, |
+ base::KEEP_WHITESPACE, |
+ base::SPLIT_WANT_NONEMPTY); |
} |
} // namespace |