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

Unified Diff: net/http/http_auth_handler_negotiate_unittest.cc

Issue 2259823002: Re-write many calls to WrapUnique() with MakeUnique() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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
« no previous file with comments | « net/http/http_auth_handler_factory.cc ('k') | net/http/http_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_auth_handler_negotiate_unittest.cc
diff --git a/net/http/http_auth_handler_negotiate_unittest.cc b/net/http/http_auth_handler_negotiate_unittest.cc
index b2a7b43cc02788d7422b43d5cffe2d5ecdae5a2e..4c26a9bd0f60b3879283c89bef9d9fbbeb5d9aff 100644
--- a/net/http/http_auth_handler_negotiate_unittest.cc
+++ b/net/http/http_auth_handler_negotiate_unittest.cc
@@ -375,8 +375,8 @@ TEST_F(HttpAuthHandlerNegotiateTest, MissingGSSAPI) {
new HttpAuthHandlerNegotiate::Factory());
negotiate_factory->set_host_resolver(host_resolver);
negotiate_factory->set_http_auth_preferences(&http_auth_preferences);
- negotiate_factory->set_library(base::WrapUnique(
- new GSSAPISharedLibrary("/this/library/does/not/exist")));
+ negotiate_factory->set_library(
+ base::MakeUnique<GSSAPISharedLibrary>("/this/library/does/not/exist"));
GURL gurl("http://www.example.com");
std::unique_ptr<HttpAuthHandler> generic_handler;
« no previous file with comments | « net/http/http_auth_handler_factory.cc ('k') | net/http/http_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698