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

Unified Diff: extensions/browser/runtime_data_unittest.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: extensions/browser/runtime_data_unittest.cc
diff --git a/extensions/browser/runtime_data_unittest.cc b/extensions/browser/runtime_data_unittest.cc
index 6e522a4db78ddc992226fa102968399f15401995..790dd257bc018fc07971fc602be5e7edb5b6afaa 100644
--- a/extensions/browser/runtime_data_unittest.cc
+++ b/extensions/browser/runtime_data_unittest.cc
@@ -21,12 +21,12 @@ namespace {
// Creates a very simple extension with a background page.
scoped_refptr<Extension> CreateExtensionWithBackgroundPage() {
return ExtensionBuilder()
- .SetManifest(std::move(
- DictionaryBuilder()
- .Set("name", "test")
- .Set("version", "0.1")
- .Set("background",
- std::move(DictionaryBuilder().Set("page", "bg.html")))))
+ .SetManifest(DictionaryBuilder()
+ .Set("name", "test")
+ .Set("version", "0.1")
+ .Set("background",
+ DictionaryBuilder().Set("page", "bg.html").Build())
+ .Build())
.SetID("id2")
.Build();
}

Powered by Google App Engine
This is Rietveld 408576698