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

Unified Diff: chrome/browser/ui/webui/options/preferences_browsertest.cc

Issue 2785883003: Use unique_ptr<DictionaryValue> in ProxyConfigDictionary (Closed)
Patch Set: Fix compilation Created 3 years, 9 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/ui/webui/options/preferences_browsertest.cc
diff --git a/chrome/browser/ui/webui/options/preferences_browsertest.cc b/chrome/browser/ui/webui/options/preferences_browsertest.cc
index e33a963b2c526aa6914709f173723f61f92b2ad1..3cc4c0bd3a3eae192dec96717a6bb00424cbef22 100644
--- a/chrome/browser/ui/webui/options/preferences_browsertest.cc
+++ b/chrome/browser/ui/webui/options/preferences_browsertest.cc
@@ -835,7 +835,7 @@ class ProxyPreferencesBrowserTest : public PreferencesBrowserTest {
ProxyConfigDictionary::CreateFixedServers("127.0.0.1:8080",
"*.google.com, 1.2.3.4:22"));
- ProxyConfigDictionary proxy_config(proxy_config_dict.get());
+ ProxyConfigDictionary proxy_config(std::move(proxy_config_dict));
const chromeos::NetworkState* network = GetDefaultNetwork();
ASSERT_TRUE(network);

Powered by Google App Engine
This is Rietveld 408576698