Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4328)

Unified Diff: chrome/browser/extensions/api/identity/identity_apitest.cc

Issue 1739183003: Make extensions::DictionaryBuilder and extensions::ListValue unmovable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/identity/identity_apitest.cc
diff --git a/chrome/browser/extensions/api/identity/identity_apitest.cc b/chrome/browser/extensions/api/identity/identity_apitest.cc
index da7aaf1797e47ab49eaa14d674d1ce04166d34cd..33a298064a57a046db6d9635cb62054bec29c285 100644
--- a/chrome/browser/extensions/api/identity/identity_apitest.cc
+++ b/chrome/browser/extensions/api/identity/identity_apitest.cc
@@ -1658,16 +1658,16 @@ class GetAuthTokenFunctionPublicSessionTest : public GetAuthTokenFunctionTest {
scoped_refptr<Extension> CreateTestExtension(const std::string& id) {
return ExtensionBuilder()
- .SetManifest(std::move(
+ .SetManifest(
DictionaryBuilder()
.Set("name", "Test")
.Set("version", "1.0")
.Set("oauth2",
- std::move(
- DictionaryBuilder()
- .Set("client_id", "clientId")
- .Set("scopes",
- std::move(ListBuilder().Append("scope1")))))))
+ DictionaryBuilder()
+ .Set("client_id", "clientId")
+ .Set("scopes", ListBuilder().Append("scope1").Build())
+ .Build())
+ .Build())
.SetLocation(Manifest::UNPACKED)
.SetID(id)
.Build();

Powered by Google App Engine
This is Rietveld 408576698