| Index: cc/test/test_shared_bitmap_manager.cc
|
| diff --git a/cc/test/test_shared_bitmap_manager.cc b/cc/test/test_shared_bitmap_manager.cc
|
| index 922c2f34adf323317763958712e01a3be1defa97..604f669af5bbb643ef9aa3a94cf17182e62eed36 100644
|
| --- a/cc/test/test_shared_bitmap_manager.cc
|
| +++ b/cc/test/test_shared_bitmap_manager.cc
|
| @@ -38,7 +38,7 @@ std::unique_ptr<SharedBitmap> TestSharedBitmapManager::AllocateSharedBitmap(
|
| memory->CreateAndMapAnonymous(size.GetArea() * 4);
|
| SharedBitmapId id = SharedBitmap::GenerateId();
|
| bitmap_map_[id] = memory.get();
|
| - return base::WrapUnique(new OwnedSharedBitmap(std::move(memory), id));
|
| + return base::MakeUnique<OwnedSharedBitmap>(std::move(memory), id);
|
| }
|
|
|
| std::unique_ptr<SharedBitmap> TestSharedBitmapManager::GetSharedBitmapFromId(
|
| @@ -48,7 +48,7 @@ std::unique_ptr<SharedBitmap> TestSharedBitmapManager::GetSharedBitmapFromId(
|
| if (bitmap_map_.find(id) == bitmap_map_.end())
|
| return nullptr;
|
| uint8_t* pixels = static_cast<uint8_t*>(bitmap_map_[id]->memory());
|
| - return base::WrapUnique(new SharedBitmap(pixels, id));
|
| + return base::MakeUnique<SharedBitmap>(pixels, id);
|
| }
|
|
|
| } // namespace cc
|
|
|