| Index: components/invalidation/impl/sync_system_resources.cc
|
| diff --git a/components/invalidation/impl/sync_system_resources.cc b/components/invalidation/impl/sync_system_resources.cc
|
| index 089f7a15c9bca76e37d53b6e939153706366471b..f4f04e0f2605fa0b8032661901a9ca4ae17885c0 100644
|
| --- a/components/invalidation/impl/sync_system_resources.cc
|
| +++ b/components/invalidation/impl/sync_system_resources.cc
|
| @@ -170,14 +170,14 @@ std::unique_ptr<SyncNetworkChannel> SyncNetworkChannel::CreatePushClientChannel(
|
| const notifier::NotifierOptions& notifier_options) {
|
| std::unique_ptr<notifier::PushClient> push_client(
|
| notifier::PushClient::CreateDefaultOnIOThread(notifier_options));
|
| - return base::WrapUnique(new PushClientChannel(std::move(push_client)));
|
| + return base::MakeUnique<PushClientChannel>(std::move(push_client));
|
| }
|
|
|
| std::unique_ptr<SyncNetworkChannel> SyncNetworkChannel::CreateGCMNetworkChannel(
|
| scoped_refptr<net::URLRequestContextGetter> request_context_getter,
|
| std::unique_ptr<GCMNetworkChannelDelegate> delegate) {
|
| - return base::WrapUnique(
|
| - new GCMNetworkChannel(request_context_getter, std::move(delegate)));
|
| + return base::MakeUnique<GCMNetworkChannel>(request_context_getter,
|
| + std::move(delegate));
|
| }
|
|
|
| void SyncNetworkChannel::NotifyNetworkStatusChange(bool online) {
|
|
|