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

Unified Diff: chrome/browser/local_discovery/privetv3_setup_flow_unittest.cc

Issue 502173004: Remove implicit conversions from scoped_refptr to T* in chrome/browser/local_discovery/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: chrome/browser/local_discovery/privetv3_setup_flow_unittest.cc
diff --git a/chrome/browser/local_discovery/privetv3_setup_flow_unittest.cc b/chrome/browser/local_discovery/privetv3_setup_flow_unittest.cc
index 32e9e66496a2b240a83ac1db05d5cc64d8a622b3..538acfc6e36f0a263077ce9f28e1d5abc8797d2f 100644
--- a/chrome/browser/local_discovery/privetv3_setup_flow_unittest.cc
+++ b/chrome/browser/local_discovery/privetv3_setup_flow_unittest.cc
@@ -60,8 +60,8 @@ class MockPrivetHTTPClient : public PrivetHTTPClient {
const GURL& url,
net::URLFetcher::RequestType request_type,
PrivetURLFetcher::Delegate* delegate) OVERRIDE {
- return make_scoped_ptr(
- new PrivetURLFetcher(url, request_type, request_context_, delegate));
+ return make_scoped_ptr(new PrivetURLFetcher(
+ url, request_type, request_context_.get(), delegate));
}
scoped_refptr<net::TestURLRequestContextGetter> request_context_;

Powered by Google App Engine
This is Rietveld 408576698