From e59eca16010c109a5e3e4922189c8b264d34caa9 Mon Sep 17 00:00:00 2001 From: dcheng Date: Fri, 18 Dec 2015 09:48:00 -0800 Subject: =?UTF-8?q?Convert=20Pass()=E2=86=92std::move()=20in=20//extension?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BUG=557422 Review URL: https://codereview.chromium.org/1537893002 Cr-Commit-Position: refs/heads/master@{#366120} --- extensions/utility/unpacker.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'extensions/utility') 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 +#include #include "base/files/file_enumerator.h" #include "base/files/file_util.h" @@ -132,7 +133,7 @@ scoped_ptr 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) { -- cgit v1.1