| Index: services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_factory.cc
|
| diff --git a/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_factory.cc b/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_factory.cc
|
| index b488f1cb07e7df05be94f69200bf74b80f25ffa9..58a88496d3b26a2643dcd2433fb0420d8a45fed3 100644
|
| --- a/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_factory.cc
|
| +++ b/services/authenticating_url_loader_interceptor/authenticating_url_loader_interceptor_factory.cc
|
| @@ -117,7 +117,7 @@ void AuthenticatingURLLoaderInterceptorFactory::OnAccountSelected(
|
| return;
|
| }
|
| cached_accounts_[origin] = account;
|
| - mojo::Array<mojo::String> scopes(1);
|
| + auto scopes = mojo::Array<mojo::String>::New(1);
|
| scopes[0] = "https://www.googleapis.com/auth/userinfo.email";
|
| authentication_service_->GetOAuth2Token(
|
| account, scopes.Pass(),
|
|
|