| Index: extensions/browser/mojo/keep_alive_impl_unittest.cc
|
| diff --git a/extensions/browser/mojo/keep_alive_impl_unittest.cc b/extensions/browser/mojo/keep_alive_impl_unittest.cc
|
| index c1f48109bda85657737bca802e65e4d21626e688..5d640e055d303d753b9a80931c0b8f94f419e888 100644
|
| --- a/extensions/browser/mojo/keep_alive_impl_unittest.cc
|
| +++ b/extensions/browser/mojo/keep_alive_impl_unittest.cc
|
| @@ -28,17 +28,21 @@ class KeepAliveTest : public ExtensionsTest {
|
| message_loop_.reset(new base::MessageLoop);
|
| extension_ =
|
| ExtensionBuilder()
|
| - .SetManifest(std::move(
|
| + .SetManifest(
|
| DictionaryBuilder()
|
| .Set("name", "app")
|
| .Set("version", "1")
|
| .Set("manifest_version", 2)
|
| - .Set("app",
|
| - std::move(DictionaryBuilder().Set(
|
| - "background",
|
| - std::move(DictionaryBuilder().Set(
|
| - "scripts", std::move(ListBuilder().Append(
|
| - "background.js")))))))))
|
| + .Set("app", DictionaryBuilder()
|
| + .Set("background",
|
| + DictionaryBuilder()
|
| + .Set("scripts",
|
| + ListBuilder()
|
| + .Append("background.js")
|
| + .Build())
|
| + .Build())
|
| + .Build())
|
| + .Build())
|
| .SetID("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa")
|
| .Build();
|
| }
|
| @@ -110,16 +114,21 @@ TEST_F(KeepAliveTest, UnloadExtension) {
|
|
|
| scoped_refptr<const Extension> other_extension =
|
| ExtensionBuilder()
|
| - .SetManifest(std::move(
|
| + .SetManifest(
|
| DictionaryBuilder()
|
| .Set("name", "app")
|
| .Set("version", "1")
|
| .Set("manifest_version", 2)
|
| - .Set("app", std::move(DictionaryBuilder().Set(
|
| - "background",
|
| - std::move(DictionaryBuilder().Set(
|
| - "scripts", std::move(ListBuilder().Append(
|
| - "background.js")))))))))
|
| + .Set("app",
|
| + DictionaryBuilder()
|
| + .Set("background",
|
| + DictionaryBuilder()
|
| + .Set("scripts", ListBuilder()
|
| + .Append("background.js")
|
| + .Build())
|
| + .Build())
|
| + .Build())
|
| + .Build())
|
| .SetID("bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb")
|
| .Build();
|
|
|
|
|