Index: net/dns/host_resolver_mojo_unittest.cc |
diff --git a/net/dns/host_resolver_mojo_unittest.cc b/net/dns/host_resolver_mojo_unittest.cc |
index bccb35240c228cb471b2ce865ac705045a6b3740..72713928c1a90aeb928dae23ada7c57fff678f9e 100644 |
--- a/net/dns/host_resolver_mojo_unittest.cc |
+++ b/net/dns/host_resolver_mojo_unittest.cc |
@@ -133,7 +133,7 @@ void MockMojoHostResolver::OnConnectionError() { |
} |
void MockMojoHostResolver::AddAction(scoped_ptr<HostResolverAction> action) { |
- actions_.push_back(action.release()); |
+ actions_.push_back(action.Pass()); |
} |
void MockMojoHostResolver::Resolve( |