| Index: chrome/browser/local_discovery/privet_notifications_unittest.cc
|
| diff --git a/chrome/browser/local_discovery/privet_notifications_unittest.cc b/chrome/browser/local_discovery/privet_notifications_unittest.cc
|
| index a219dae0fd415f991ef1e6f027837dacf43f9d74..2cdcf71ca0ac254d0000bcfe5be7b15c7ad5b97c 100644
|
| --- a/chrome/browser/local_discovery/privet_notifications_unittest.cc
|
| +++ b/chrome/browser/local_discovery/privet_notifications_unittest.cc
|
| @@ -52,11 +52,8 @@ class MockPrivetHttpFactory : public PrivetHTTPAsynchronousFactory {
|
| }
|
|
|
| virtual void Start() OVERRIDE {
|
| - callback_.Run(scoped_ptr<PrivetHTTPClient>(
|
| - new PrivetHTTPClientImpl(
|
| - name_,
|
| - net::HostPortPair("1.2.3.4", 8080),
|
| - request_context_)));
|
| + callback_.Run(scoped_ptr<PrivetHTTPClient>(new PrivetHTTPClientImpl(
|
| + name_, net::HostPortPair("1.2.3.4", 8080), request_context_.get())));
|
| }
|
|
|
| virtual const std::string& GetName() OVERRIDE {
|
| @@ -78,7 +75,7 @@ class MockPrivetHttpFactory : public PrivetHTTPAsynchronousFactory {
|
| const net::HostPortPair& address,
|
| const ResultCallback& callback) OVERRIDE {
|
| return scoped_ptr<PrivetHTTPResolution>(
|
| - new MockResolution(name, request_context_, callback));
|
| + new MockResolution(name, request_context_.get(), callback));
|
| }
|
|
|
| private:
|
|
|