Index: chrome/renderer/spellchecker/spellcheck_worditerator.cc |
diff --git a/chrome/renderer/spellchecker/spellcheck_worditerator.cc b/chrome/renderer/spellchecker/spellcheck_worditerator.cc |
index abe1d86b212a258eeef9a534167b85b7a1e2c91e..0183ebbf5202537147f7e9a3decec3dd798cb073 100644 |
--- a/chrome/renderer/spellchecker/spellcheck_worditerator.cc |
+++ b/chrome/renderer/spellchecker/spellcheck_worditerator.cc |
@@ -8,6 +8,7 @@ |
#include <map> |
#include <string> |
+#include <utility> |
#include "base/i18n/break_iterator.h" |
#include "base/logging.h" |
@@ -334,7 +335,7 @@ bool SpellcheckWordIterator::Initialize( |
NOTREACHED() << "failed to open iterator (broken rules)"; |
return false; |
} |
- iterator_ = iterator.Pass(); |
+ iterator_ = std::move(iterator); |
// Set the character attributes so we can normalize the words extracted by |
// this iterator. |