Index: chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc |
diff --git a/chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc b/chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc |
index 50b67082362afc391cb2cc455df4e8f6a4196312..9169d424ac13044ac62d97b82d27c9a9fbd6ce33 100644 |
--- a/chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc |
+++ b/chrome/renderer/safe_browsing/phishing_term_feature_extractor.cc |
@@ -6,6 +6,7 @@ |
#include <list> |
#include <map> |
+#include <utility> |
#include "base/bind.h" |
#include "base/compiler_specific.h" |
@@ -75,7 +76,7 @@ struct PhishingTermFeatureExtractor::ExtractionState { |
text, base::i18n::BreakIterator::BREAK_WORD)); |
if (i->Init()) { |
- iterator = i.Pass(); |
+ iterator = std::move(i); |
} else { |
DLOG(ERROR) << "failed to open iterator"; |
} |