Index: extensions/shell/browser/shell_url_request_context_getter.cc |
diff --git a/extensions/shell/browser/shell_url_request_context_getter.cc b/extensions/shell/browser/shell_url_request_context_getter.cc |
index 54f223741c344726ead337b17f707635b220f9d0..6e6f2b5eaf843f5d207112ac773e850a0999a20a 100644 |
--- a/extensions/shell/browser/shell_url_request_context_getter.cc |
+++ b/extensions/shell/browser/shell_url_request_context_getter.cc |
@@ -6,7 +6,7 @@ |
#include <utility> |
-#include "base/memory/scoped_ptr.h" |
+#include "base/memory/ptr_util.h" |
#include "content/public/browser/resource_request_info.h" |
#include "extensions/browser/info_map.h" |
#include "extensions/shell/browser/shell_network_delegate.h" |
@@ -36,9 +36,9 @@ ShellURLRequestContextGetter::ShellURLRequestContextGetter( |
ShellURLRequestContextGetter::~ShellURLRequestContextGetter() { |
} |
-scoped_ptr<net::NetworkDelegate> |
+std::unique_ptr<net::NetworkDelegate> |
ShellURLRequestContextGetter::CreateNetworkDelegate() { |
- return make_scoped_ptr( |
+ return base::WrapUnique( |
new ShellNetworkDelegate(browser_context_, extension_info_map_)); |
} |