Index: content/browser/net/network_errors_listing_ui.cc |
diff --git a/content/browser/net/network_errors_listing_ui.cc b/content/browser/net/network_errors_listing_ui.cc |
index cacb3d0e3052b90c04f5bd02d7eb59aa1cf9a0ad..9f29c2869f099710301fc79d797ba5233504f89a 100644 |
--- a/content/browser/net/network_errors_listing_ui.cc |
+++ b/content/browser/net/network_errors_listing_ui.cc |
@@ -23,8 +23,8 @@ namespace content { |
namespace { |
-scoped_ptr<base::ListValue> GetNetworkErrorData() { |
- scoped_ptr<base::DictionaryValue> error_codes = net::GetNetConstants(); |
+std::unique_ptr<base::ListValue> GetNetworkErrorData() { |
+ std::unique_ptr<base::DictionaryValue> error_codes = net::GetNetConstants(); |
const base::DictionaryValue* net_error_codes_dict = nullptr; |
for (base::DictionaryValue::Iterator itr(*error_codes); !itr.IsAtEnd(); |
@@ -35,7 +35,7 @@ scoped_ptr<base::ListValue> GetNetworkErrorData() { |
} |
} |
- scoped_ptr<base::ListValue> error_list(new base::ListValue()); |
+ std::unique_ptr<base::ListValue> error_list(new base::ListValue()); |
for (base::DictionaryValue::Iterator itr(*net_error_codes_dict); |
!itr.IsAtEnd(); itr.Advance()) { |