Index: base/i18n/break_iterator.h |
diff --git a/base/i18n/break_iterator.h b/base/i18n/break_iterator.h |
index acd5c304986649ee9e480c8617fa509f70455217..56cccf87764967a4f0aff5be5eb27b15c7fc6c1e 100644 |
--- a/base/i18n/break_iterator.h |
+++ b/base/i18n/break_iterator.h |
@@ -67,7 +67,7 @@ class BreakIterator { |
}; |
// Requires |str| to live as long as the BreakIterator does. |
- BreakIterator(const string16* str, BreakType break_type); |
+ BreakIterator(const string16& str, BreakType break_type); |
~BreakIterator(); |
// Init() must be called before any of the iterators are valid. |
@@ -106,7 +106,7 @@ class BreakIterator { |
void* iter_; |
// The string we're iterating over. |
- const string16* string_; |
+ const string16 string_; |
// The breaking style (word/space/newline). |
BreakType break_type_; |