diff options
Diffstat (limited to 'extensions/common/manifest_test.cc')
-rw-r--r-- | extensions/common/manifest_test.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extensions/common/manifest_test.cc b/extensions/common/manifest_test.cc index ea32fc8..771d4b3 100644 --- a/extensions/common/manifest_test.cc +++ b/extensions/common/manifest_test.cc @@ -4,6 +4,8 @@ #include "extensions/common/manifest_test.h" +#include <utility> + #include "base/files/file_path.h" #include "base/files/file_util.h" #include "base/json/json_file_value_serializer.h" @@ -68,7 +70,7 @@ ManifestTest::ManifestData::ManifestData(base::DictionaryValue* manifest, ManifestTest::ManifestData::ManifestData( scoped_ptr<base::DictionaryValue> manifest) - : manifest_(manifest.get()), manifest_holder_(manifest.Pass()) { + : manifest_(manifest.get()), manifest_holder_(std::move(manifest)) { CHECK(manifest_) << "Manifest NULL"; } @@ -77,7 +79,7 @@ ManifestTest::ManifestData::ManifestData( const char* name) : name_(name), manifest_(manifest.get()), - manifest_holder_(manifest.Pass()) { + manifest_holder_(std::move(manifest)) { CHECK(manifest_) << "Manifest NULL"; } |