Index: chromeos/network/onc/onc_utils_unittest.cc |
diff --git a/chromeos/network/onc/onc_utils_unittest.cc b/chromeos/network/onc/onc_utils_unittest.cc |
index ba4a2ed1c66f28dbf22da7003d8458554aea5332..92cbceb1136d6765cabd8171bd8f5a8c8ecb0a91 100644 |
--- a/chromeos/network/onc/onc_utils_unittest.cc |
+++ b/chromeos/network/onc/onc_utils_unittest.cc |
@@ -225,7 +225,8 @@ TEST(ONCUtils, ProxyConfigToOncProxySettings) { |
test_case->GetDictionary("ONC_ProxySettings", &onc_proxy_settings); |
std::unique_ptr<base::DictionaryValue> actual_proxy_settings = |
- ConvertProxyConfigToOncProxySettings(*shill_proxy_config); |
+ ConvertProxyConfigToOncProxySettings( |
+ shill_proxy_config->CreateDeepCopy()); |
EXPECT_TRUE( |
test_utils::Equals(onc_proxy_settings, actual_proxy_settings.get())); |
} |