diff options
author | dcheng <dcheng@chromium.org> | 2015-12-18 09:48:00 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-18 17:48:52 +0000 |
commit | e59eca16010c109a5e3e4922189c8b264d34caa9 (patch) | |
tree | 838815399c6364a99a465938df9978aeaf75c766 /extensions/utility | |
parent | 5100baf1eac806abbdaaf8002887aacf652f34e5 (diff) | |
download | chromium_src-e59eca16010c109a5e3e4922189c8b264d34caa9.zip chromium_src-e59eca16010c109a5e3e4922189c8b264d34caa9.tar.gz chromium_src-e59eca16010c109a5e3e4922189c8b264d34caa9.tar.bz2 |
Convert Pass()→std::move() in //extensions
BUG=557422
Review URL: https://codereview.chromium.org/1537893002
Cr-Commit-Position: refs/heads/master@{#366120}
Diffstat (limited to 'extensions/utility')
-rw-r--r-- | extensions/utility/unpacker.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/utility/unpacker.cc b/extensions/utility/unpacker.cc index f499808..36c0eba 100644 --- a/extensions/utility/unpacker.cc +++ b/extensions/utility/unpacker.cc @@ -5,6 +5,7 @@ #include "extensions/utility/unpacker.h" #include <set> +#include <utility> #include "base/files/file_enumerator.h" #include "base/files/file_util.h" @@ -132,7 +133,7 @@ scoped_ptr<base::DictionaryValue> Unpacker::ReadManifest() { return NULL; } - return base::DictionaryValue::From(root.Pass()); + return base::DictionaryValue::From(std::move(root)); } bool Unpacker::ReadAllMessageCatalogs(const std::string& default_locale) { |