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

Unified Diff: extensions/shell/browser/shell_url_request_context_getter.cc

Issue 2252373002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « extensions/shell/browser/shell_native_app_window_aura_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 6e6f2b5eaf843f5d207112ac773e850a0999a20a..654f468ca72b5de46fd8f80b1b83533eb309413f 100644
--- a/extensions/shell/browser/shell_url_request_context_getter.cc
+++ b/extensions/shell/browser/shell_url_request_context_getter.cc
@@ -38,8 +38,8 @@ ShellURLRequestContextGetter::~ShellURLRequestContextGetter() {
std::unique_ptr<net::NetworkDelegate>
ShellURLRequestContextGetter::CreateNetworkDelegate() {
- return base::WrapUnique(
- new ShellNetworkDelegate(browser_context_, extension_info_map_));
+ return base::MakeUnique<ShellNetworkDelegate>(browser_context_,
+ extension_info_map_);
}
} // namespace extensions
« no previous file with comments | « extensions/shell/browser/shell_native_app_window_aura_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698