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

Unified Diff: extensions/browser/api_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/api_unittest.cc
diff --git a/extensions/browser/api_unittest.cc b/extensions/browser/api_unittest.cc
index f0c0f614e8f1385dced0a3384237401f08a85d86..049656316e40b8a16de1d98cd5cf5fa062601103 100644
--- a/extensions/browser/api_unittest.cc
+++ b/extensions/browser/api_unittest.cc
@@ -44,12 +44,13 @@ void ApiUnitTest::SetUp() {
content::TestBrowserThreadBundle::DEFAULT));
user_prefs::UserPrefs::Set(browser_context(), &testing_pref_service_);
- extension_ =
- ExtensionBuilder()
- .SetManifest(std::move(
- DictionaryBuilder().Set("name", "Test").Set("version", "1.0")))
- .SetLocation(Manifest::UNPACKED)
- .Build();
+ extension_ = ExtensionBuilder()
+ .SetManifest(DictionaryBuilder()
+ .Set("name", "Test")
+ .Set("version", "1.0")
+ .Build())
+ .SetLocation(Manifest::UNPACKED)
+ .Build();
}
void ApiUnitTest::CreateBackgroundPage() {

Powered by Google App Engine
This is Rietveld 408576698