Index: components/invalidation/impl/gcm_invalidation_bridge.cc |
diff --git a/components/invalidation/impl/gcm_invalidation_bridge.cc b/components/invalidation/impl/gcm_invalidation_bridge.cc |
index f1e23835881e83a1e5d1425d26c09815a4de2da2..09aca1e3991a2ec7e6b8a5ab57de62f236d9a7b1 100644 |
--- a/components/invalidation/impl/gcm_invalidation_bridge.cc |
+++ b/components/invalidation/impl/gcm_invalidation_bridge.cc |
@@ -176,8 +176,8 @@ GCMInvalidationBridge::~GCMInvalidationBridge() { |
std::unique_ptr<syncer::GCMNetworkChannelDelegate> |
GCMInvalidationBridge::CreateDelegate() { |
DCHECK(CalledOnValidThread()); |
- return base::WrapUnique(new Core(weak_factory_.GetWeakPtr(), |
- base::ThreadTaskRunnerHandle::Get())); |
+ return base::MakeUnique<Core>(weak_factory_.GetWeakPtr(), |
+ base::ThreadTaskRunnerHandle::Get()); |
} |
void GCMInvalidationBridge::CoreInitializationDone( |