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

Unified Diff: content/browser/loader/async_revalidation_driver_unittest.cc

Issue 2256173002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace a WrapUnique() nested inside a MakeUnique() Created 4 years, 3 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: content/browser/loader/async_revalidation_driver_unittest.cc
diff --git a/content/browser/loader/async_revalidation_driver_unittest.cc b/content/browser/loader/async_revalidation_driver_unittest.cc
index a39d9fe3ecae54d64d4cf79ea2480d4adbd4d553..955d53af0af4c8ac330c7fb55a4c77646112da83 100644
--- a/content/browser/loader/async_revalidation_driver_unittest.cc
+++ b/content/browser/loader/async_revalidation_driver_unittest.cc
@@ -78,7 +78,7 @@ CreateProtocolHandlerCallback BindCreateProtocolHandlerCallback() {
public:
static std::unique_ptr<net::URLRequestJobFactory::ProtocolHandler>
Create() {
- return base::WrapUnique(new TemplatedProtocolHandler());
+ return base::MakeUnique<TemplatedProtocolHandler>();
}
// URLRequestJobFactory::ProtocolHandler implementation:
« no previous file with comments | « content/browser/frame_host/render_widget_host_view_guest.cc ('k') | content/browser/loader/navigation_url_loader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698