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

Unified Diff: chrome/browser/local_discovery/privet_http_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/privet_http_unittest.cc
diff --git a/chrome/browser/local_discovery/privet_http_unittest.cc b/chrome/browser/local_discovery/privet_http_unittest.cc
index 5c9e760b115bee3fb8a2aeb10ed022d9bd06d1e3..32f98d5189765b57dbc92b93e581bdf6e10a68da 100644
--- a/chrome/browser/local_discovery/privet_http_unittest.cc
+++ b/chrome/browser/local_discovery/privet_http_unittest.cc
@@ -242,11 +242,11 @@ class PrivetHTTPTest : public ::testing::Test {
request_context_= new net::TestURLRequestContextGetter(
base::MessageLoopProxy::current());
- privet_client_ = PrivetV1HTTPClient::CreateDefault(
- make_scoped_ptr<PrivetHTTPClient>(
+ privet_client_ =
+ PrivetV1HTTPClient::CreateDefault(make_scoped_ptr<PrivetHTTPClient>(
new PrivetHTTPClientImpl("sampleDevice._privet._tcp.local",
net::HostPortPair("10.0.0.8", 6006),
- request_context_)));
+ request_context_.get())));
fetcher_factory_.SetDelegateForTests(&fetcher_delegate_);
}

Powered by Google App Engine
This is Rietveld 408576698