Index: ui/base/text/text_elider.cc |
diff --git a/ui/base/text/text_elider.cc b/ui/base/text/text_elider.cc |
index c005997771d391d8cb9866a23104f4c88f0034e9..072f00e498746b802d37376029eaa47907762a95 100644 |
--- a/ui/base/text/text_elider.cc |
+++ b/ui/base/text/text_elider.cc |
@@ -576,7 +576,7 @@ class RectangleString { |
}; |
void RectangleString::AddString(const string16& input) { |
- base::i18n::BreakIterator lines(&input, |
+ base::i18n::BreakIterator lines(input, |
base::i18n::BreakIterator::BREAK_NEWLINE); |
if (lines.Init()) { |
while (lines.Advance()) |
@@ -598,7 +598,7 @@ void RectangleString::AddLine(const string16& line) { |
if (line.length() < max_cols_) { |
Append(line); |
} else { |
- base::i18n::BreakIterator words(&line, |
+ base::i18n::BreakIterator words(line, |
base::i18n::BreakIterator::BREAK_SPACE); |
if (words.Init()) { |
while (words.Advance()) |