Index: chrome/browser/spellcheck_worditerator.cc |
diff --git a/chrome/browser/spellcheck_worditerator.cc b/chrome/browser/spellcheck_worditerator.cc |
index 87343e5b853459014a29b4dc48a33bdeb3a24113..34f2330448aac715df1e8ad70a1fc15307cbaf8a 100644 |
--- a/chrome/browser/spellcheck_worditerator.cc |
+++ b/chrome/browser/spellcheck_worditerator.cc |
@@ -185,7 +185,7 @@ void SpellcheckWordIterator::Initialize( |
bool SpellcheckWordIterator::GetNextWord(string16* word_string, |
int* word_start, |
int* word_length) { |
- word_string->empty(); |
+ word_string->clear(); |
*word_start = 0; |
*word_length = 0; |
while (position_ < length_) { |