| Index: chrome/browser/history/query_parser.cc
|
| diff --git a/chrome/browser/history/query_parser.cc b/chrome/browser/history/query_parser.cc
|
| index 21ef90b6135d4cf6ceb8b12f84352e4534e9f51c..d507bd1c6d6c7d272fcf8b8dcf52334ff37bb8fe 100644
|
| --- a/chrome/browser/history/query_parser.cc
|
| +++ b/chrome/browser/history/query_parser.cc
|
| @@ -354,7 +354,7 @@ bool QueryParser::DoesQueryMatch(const string16& text,
|
| }
|
|
|
| bool QueryParser::ParseQueryImpl(const string16& query, QueryNodeList* root) {
|
| - base::i18n::BreakIterator iter(&query, base::i18n::BreakIterator::BREAK_WORD);
|
| + base::i18n::BreakIterator iter(query, base::i18n::BreakIterator::BREAK_WORD);
|
| // TODO(evanm): support a locale here
|
| if (!iter.Init())
|
| return false;
|
| @@ -395,7 +395,7 @@ bool QueryParser::ParseQueryImpl(const string16& query, QueryNodeList* root) {
|
|
|
| void QueryParser::ExtractQueryWords(const string16& text,
|
| std::vector<QueryWord>* words) {
|
| - base::i18n::BreakIterator iter(&text, base::i18n::BreakIterator::BREAK_WORD);
|
| + base::i18n::BreakIterator iter(text, base::i18n::BreakIterator::BREAK_WORD);
|
| // TODO(evanm): support a locale here
|
| if (!iter.Init())
|
| return;
|
|
|