| Index: remoting/host/token_validator_factory_impl_unittest.cc
|
| diff --git a/remoting/host/token_validator_factory_impl_unittest.cc b/remoting/host/token_validator_factory_impl_unittest.cc
|
| index 49a9f8773cc7b8557f1a04214b794e18b145fd2d..6991cf77463ac209b2800b2c969fe7f82d6a1baa 100644
|
| --- a/remoting/host/token_validator_factory_impl_unittest.cc
|
| +++ b/remoting/host/token_validator_factory_impl_unittest.cc
|
| @@ -60,7 +60,7 @@ class SetResponseURLRequestContext: public net::TestURLRequestContext {
|
| make_scoped_ptr(new net::URLRequestJobFactoryImpl());
|
| factory->SetProtocolHandler(
|
| "https", make_scoped_ptr(new FakeProtocolHandler(headers, response)));
|
| - context_storage_.set_job_factory(factory.Pass());
|
| + context_storage_.set_job_factory(std::move(factory));
|
| }
|
| };
|
|
|
| @@ -94,7 +94,7 @@ class TokenValidatorFactoryImplTest : public testing::Test {
|
| scoped_ptr<net::TestURLRequestContext> context(
|
| new SetResponseURLRequestContext());
|
| request_context_getter_ = new net::TestURLRequestContextGetter(
|
| - message_loop_.task_runner(), context.Pass());
|
| + message_loop_.task_runner(), std::move(context));
|
| ThirdPartyAuthConfig config;
|
| config.token_url = GURL(kTokenUrl);
|
| config.token_validation_url = GURL(kTokenValidationUrl);
|
|
|