Index: components/safe_browsing_db/prefix_set.cc |
diff --git a/components/safe_browsing_db/prefix_set.cc b/components/safe_browsing_db/prefix_set.cc |
index b5c97d3a395209a186074ac8c45ad72d75abc2f5..f8aa9350a7a1590b80f766f40ff04c35f4e001bb 100644 |
--- a/components/safe_browsing_db/prefix_set.cc |
+++ b/components/safe_browsing_db/prefix_set.cc |
@@ -5,6 +5,7 @@ |
#include "components/safe_browsing_db/prefix_set.h" |
#include <algorithm> |
+#include <utility> |
#include "base/files/file_util.h" |
#include "base/files/scoped_file.h" |
@@ -390,11 +391,11 @@ scoped_ptr<const PrefixSet> PrefixSetBuilder::GetPrefixSet( |
std::sort(prefix_set_->full_hashes_.begin(), prefix_set_->full_hashes_.end(), |
SBFullHashLess); |
- return prefix_set_.Pass(); |
+ return std::move(prefix_set_); |
} |
scoped_ptr<const PrefixSet> PrefixSetBuilder::GetPrefixSetNoHashes() { |
- return GetPrefixSet(std::vector<SBFullHash>()).Pass(); |
+ return GetPrefixSet(std::vector<SBFullHash>()); |
} |
void PrefixSetBuilder::EmitRun() { |