Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Unified Diff: chrome/browser/history/in_memory_url_index.cc

Issue 7008005: base/i18n: Pass |str| as const reference in BreakIterator::Init(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: const reference Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/i18n/break_iterator_unittest.cc ('k') | chrome/browser/history/query_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/in_memory_url_index.cc
diff --git a/chrome/browser/history/in_memory_url_index.cc b/chrome/browser/history/in_memory_url_index.cc
index 6103a4abe94e6afdb19a607a4632294a2bdd052a..7942d7aaf2c767dc3e042487ac5b414c834e19ea 100644
--- a/chrome/browser/history/in_memory_url_index.cc
+++ b/chrome/browser/history/in_memory_url_index.cc
@@ -487,7 +487,7 @@ InMemoryURLIndex::String16Vector InMemoryURLIndex::WordVectorFromString16(
const string16& uni_string,
bool break_on_space) {
base::i18n::BreakIterator iter(
- &uni_string,
+ uni_string,
break_on_space ? base::i18n::BreakIterator::BREAK_SPACE
: base::i18n::BreakIterator::BREAK_WORD);
String16Vector words;
« no previous file with comments | « base/i18n/break_iterator_unittest.cc ('k') | chrome/browser/history/query_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698