| Index: remoting/protocol/http_ice_config_request_unittest.cc
|
| diff --git a/remoting/protocol/http_ice_config_request_unittest.cc b/remoting/protocol/http_ice_config_request_unittest.cc
|
| index 866764165a35284ac77a333128c7a5c47604e448..821be6a07ba2fd30bbde2deb655a770ab22979d3 100644
|
| --- a/remoting/protocol/http_ice_config_request_unittest.cc
|
| +++ b/remoting/protocol/http_ice_config_request_unittest.cc
|
| @@ -53,7 +53,7 @@ class FakeUrlRequestFactory : public UrlRequestFactory {
|
| const std::string& url) override {
|
| EXPECT_EQ(UrlRequest::Type::POST, type);
|
| CHECK(results_.count(url));
|
| - return base::WrapUnique(new FakeUrlRequest(results_[url]));
|
| + return base::MakeUnique<FakeUrlRequest>(results_[url]);
|
| }
|
|
|
| std::map<std::string, UrlRequest::Result> results_;
|
| @@ -66,7 +66,7 @@ static const char kTestUrl[] = "http://host/ice_config";
|
| class HttpIceConfigRequestTest : public testing::Test {
|
| public:
|
| void OnResult(const IceConfig& config) {
|
| - received_config_ = base::WrapUnique(new IceConfig(config));
|
| + received_config_ = base::MakeUnique<IceConfig>(config);
|
| }
|
|
|
| protected:
|
|
|