summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/spellcheck_worditerator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/spellcheck_worditerator.cc b/chrome/browser/spellcheck_worditerator.cc
index 87343e5..34f2330 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_) {