Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: google_apis/gaia/oauth2_api_call_flow_unittest.cc

Issue 498123003: Remove implicit conversions from scoped_refptr to T* in google_apis/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: google_apis/gaia/oauth2_api_call_flow_unittest.cc
diff --git a/google_apis/gaia/oauth2_api_call_flow_unittest.cc b/google_apis/gaia/oauth2_api_call_flow_unittest.cc
index 754b15e95fb60ef0e5d306a252c8dd44cefaf22e..73232a9d255497978d6ce92943242820b3f1e0c1 100644
--- a/google_apis/gaia/oauth2_api_call_flow_unittest.cc
+++ b/google_apis/gaia/oauth2_api_call_flow_unittest.cc
@@ -143,9 +143,9 @@ class OAuth2ApiCallFlowTest : public testing::Test {
new net::TestURLRequestContextGetter(
message_loop_.message_loop_proxy());
flow_.reset(new MockApiCallFlow(
- request_context_getter, refresh_token, access_token, scopes));
+ request_context_getter.get(), refresh_token, access_token, scopes));
access_token_fetcher_.reset(new MockAccessTokenFetcher(
- flow_.get(), request_context_getter, refresh_token));
+ flow_.get(), request_context_getter.get(), refresh_token));
}
TestURLFetcher* SetupApiCall(bool succeeds, net::HttpStatusCode status) {
« no previous file with comments | « google_apis/gaia/oauth2_access_token_fetcher_impl_unittest.cc ('k') | google_apis/gaia/oauth2_token_service_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698