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

Unified Diff: net/base/host_resolver_impl_unittest.cc

Issue 10831277: [net] Change factory methods for HostResolver and HostCache to return a scoped_ptr (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 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: net/base/host_resolver_impl_unittest.cc
diff --git a/net/base/host_resolver_impl_unittest.cc b/net/base/host_resolver_impl_unittest.cc
index 59d12f3c51a6487fb2159484c309741c2fd7c749..a949448f70303d27c81b59afa30bd6254b01a82d 100644
--- a/net/base/host_resolver_impl_unittest.cc
+++ b/net/base/host_resolver_impl_unittest.cc
@@ -758,7 +758,7 @@ TEST_F(HostResolverImplTest, StartWithinCallback) {
// Turn off caching for this host resolver.
resolver_.reset(new HostResolverImpl(
- NULL,
+ scoped_ptr<HostCache>(NULL),
darin (slow to review) 2012/10/09 17:38:34 nit: NULL parameter is unnecessary. just call the
szym 2012/10/09 21:40:43 Done.
DefaultLimits(),
DefaultParams(proc_),
scoped_ptr<DnsClient>(NULL),
darin (slow to review) 2012/10/09 17:38:34 same nit here
szym 2012/10/09 21:40:43 Done.

Powered by Google App Engine
This is Rietveld 408576698