| Index: chrome/browser/history/query_parser.cc
|
| ===================================================================
|
| --- chrome/browser/history/query_parser.cc (revision 68907)
|
| +++ chrome/browser/history/query_parser.cc (working copy)
|
| @@ -7,7 +7,7 @@
|
| #include <algorithm>
|
|
|
| #include "app/l10n_util.h"
|
| -#include "base/i18n/word_iterator.h"
|
| +#include "base/i18n/break_iterator.h"
|
| #include "base/logging.h"
|
| #include "base/scoped_vector.h"
|
| #include "base/string_util.h"
|
| @@ -322,7 +322,7 @@
|
|
|
| bool QueryParser::ParseQueryImpl(const string16& query,
|
| QueryNodeList* root) {
|
| - WordIterator iter(&query, WordIterator::BREAK_WORD);
|
| + base::BreakIterator iter(&query, base::BreakIterator::BREAK_WORD);
|
| // TODO(evanm): support a locale here
|
| if (!iter.Init())
|
| return false;
|
| @@ -365,7 +365,7 @@
|
|
|
| void QueryParser::ExtractQueryWords(const string16& text,
|
| std::vector<QueryWord>* words) {
|
| - WordIterator iter(&text, WordIterator::BREAK_WORD);
|
| + base::BreakIterator iter(&text, base::BreakIterator::BREAK_WORD);
|
| // TODO(evanm): support a locale here
|
| if (!iter.Init())
|
| return;
|
|
|