diff options
Diffstat (limited to 'net/proxy/proxy_resolver_v8_tracing_unittest.cc')
-rw-r--r-- | net/proxy/proxy_resolver_v8_tracing_unittest.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/proxy/proxy_resolver_v8_tracing_unittest.cc b/net/proxy/proxy_resolver_v8_tracing_unittest.cc index fbca99f..888dd18 100644 --- a/net/proxy/proxy_resolver_v8_tracing_unittest.cc +++ b/net/proxy/proxy_resolver_v8_tracing_unittest.cc @@ -5,6 +5,7 @@ #include "net/proxy/proxy_resolver_v8_tracing.h" #include <string> +#include <utility> #include "base/files/file_util.h" #include "base/path_service.h" @@ -142,11 +143,11 @@ scoped_ptr<ProxyResolverV8Tracing> CreateResolver( TestCompletionCallback callback; scoped_ptr<ProxyResolverFactory::Request> request; factory->CreateProxyResolverV8Tracing(LoadScriptData(filename), - bindings.Pass(), &resolver, + std::move(bindings), &resolver, callback.callback(), &request); EXPECT_EQ(OK, callback.WaitForResult()); EXPECT_TRUE(resolver); - return resolver.Pass(); + return resolver; } TEST_F(ProxyResolverV8TracingTest, Simple) { |