Index: google_apis/gaia/oauth2_api_call_flow.cc |
diff --git a/google_apis/gaia/oauth2_api_call_flow.cc b/google_apis/gaia/oauth2_api_call_flow.cc |
index 8b160323b83b0dab33ea8b68f9021179817c391c..f178299719a51922eea4c0919d4f234d93fb83b6 100644 |
--- a/google_apis/gaia/oauth2_api_call_flow.cc |
+++ b/google_apis/gaia/oauth2_api_call_flow.cc |
@@ -74,12 +74,12 @@ void OAuth2ApiCallFlow::OnURLFetchComplete(const net::URLFetcher* source) { |
EndApiCall(source); |
} |
-scoped_ptr<URLFetcher> OAuth2ApiCallFlow::CreateURLFetcher( |
+std::unique_ptr<URLFetcher> OAuth2ApiCallFlow::CreateURLFetcher( |
net::URLRequestContextGetter* context, |
const std::string& access_token) { |
std::string body = CreateApiCallBody(); |
net::URLFetcher::RequestType request_type = GetRequestTypeForBody(body); |
- scoped_ptr<URLFetcher> result = |
+ std::unique_ptr<URLFetcher> result = |
net::URLFetcher::Create(0, CreateApiCallUrl(), request_type, this); |
result->SetRequestContext(context); |