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

Unified Diff: chrome/browser/extensions/webstore_installer_browsertest.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/webstore_installer_browsertest.cc
diff --git a/chrome/browser/extensions/webstore_installer_browsertest.cc b/chrome/browser/extensions/webstore_installer_browsertest.cc
index 0e301d2b0b6b840cbd6c4fb5fabca05d51c5bdb9..92a080f85ef93f903837df867761c4f4ff2178d7 100644
--- a/chrome/browser/extensions/webstore_installer_browsertest.cc
+++ b/chrome/browser/extensions/webstore_installer_browsertest.cc
@@ -123,7 +123,7 @@ IN_PROC_BROWSER_TEST_F(WebstoreInstallerBrowserTest, WebstoreInstall) {
.Set("description", "Foo")
.Set("manifest_version", 2)
.Set("version", "1.0")
- .Set("permissions", std::move(ListBuilder().Append("tabs")))
+ .Set("permissions", ListBuilder().Append("tabs").Build())
.Build());
content::WebContents* active_web_contents =
@@ -156,7 +156,7 @@ IN_PROC_BROWSER_TEST_F(WebstoreInstallerBrowserTest, SimultaneousInstall) {
.Set("description", "Foo")
.Set("manifest_version", 2)
.Set("version", "1.0")
- .Set("permissions", std::move(ListBuilder().Append("tabs")))
+ .Set("permissions", ListBuilder().Append("tabs").Build())
.Build());
content::WebContents* active_web_contents =

Powered by Google App Engine
This is Rietveld 408576698