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

Unified Diff: google_apis/gaia/gaia_auth_fetcher_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
« no previous file with comments | « google_apis/drive/request_sender.h ('k') | google_apis/gaia/gaia_oauth_client_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/gaia/gaia_auth_fetcher_unittest.cc
diff --git a/google_apis/gaia/gaia_auth_fetcher_unittest.cc b/google_apis/gaia/gaia_auth_fetcher_unittest.cc
index 971d47d319798294e0a8d16c392eba1d47429cec..a6203ff77590139678097c2135db01f5194ba50d 100644
--- a/google_apis/gaia/gaia_auth_fetcher_unittest.cc
+++ b/google_apis/gaia/gaia_auth_fetcher_unittest.cc
@@ -154,11 +154,11 @@ class GaiaAuthFetcherTest : public testing::Test {
protected:
net::TestURLRequestContextGetter* GetRequestContext() {
- if (!request_context_getter_) {
+ if (!request_context_getter_.get()) {
request_context_getter_ = new net::TestURLRequestContextGetter(
message_loop_.message_loop_proxy());
}
- return request_context_getter_;
+ return request_context_getter_.get();
}
base::MessageLoop message_loop_;
« no previous file with comments | « google_apis/drive/request_sender.h ('k') | google_apis/gaia/gaia_oauth_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698