Index: services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_meta_factory_impl.cc |
diff --git a/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_meta_factory_impl.cc b/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_meta_factory_impl.cc |
index f654821d87649b69ebb931572353bc9f514797a8..15b4541a8e0f3377b43c9138388e16162449a7a9 100644 |
--- a/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_meta_factory_impl.cc |
+++ b/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_meta_factory_impl.cc |
@@ -4,6 +4,8 @@ |
#include "services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_meta_factory_impl.h" |
+#include <utility> |
+ |
#include "mojo/public/cpp/application/application_impl.h" |
#include "services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_factory.h" |
@@ -25,10 +27,11 @@ AuthenticatingURLLoaderInterceptorMetaFactoryImpl:: |
void AuthenticatingURLLoaderInterceptorMetaFactoryImpl:: |
CreateURLLoaderInterceptorFactory( |
mojo::InterfaceRequest<URLLoaderInterceptorFactory> factory_request, |
- authentication::AuthenticationServicePtr authentication_service) { |
- new AuthenticatingURLLoaderInterceptorFactory(factory_request.Pass(), |
- authentication_service.Pass(), |
- app_, cached_tokens_); |
+ InterfaceHandle<authentication::AuthenticationService> |
+ authentication_service) { |
+ new AuthenticatingURLLoaderInterceptorFactory( |
+ factory_request.Pass(), std::move(authentication_service), app_, |
+ cached_tokens_); |
} |
} // namespace mojo |