Index: components/display_compositor/buffer_queue.cc |
diff --git a/components/display_compositor/buffer_queue.cc b/components/display_compositor/buffer_queue.cc |
index 5bd18aaee9e66582ad0105e586108c06f9485d8c..fafdb406b4feee839d0736a838647d135aa1101e 100644 |
--- a/components/display_compositor/buffer_queue.cc |
+++ b/components/display_compositor/buffer_queue.cc |
@@ -239,8 +239,8 @@ std::unique_ptr<BufferQueue::AllocatedSurface> BufferQueue::GetNextSurface() { |
allocated_count_++; |
gl_->BindTexture(texture_target_, texture); |
gl_->BindTexImage2DCHROMIUM(texture_target_, id); |
- return base::WrapUnique(new AllocatedSurface(this, std::move(buffer), texture, |
- id, gfx::Rect(size_))); |
+ return base::MakeUnique<AllocatedSurface>(this, std::move(buffer), texture, |
+ id, gfx::Rect(size_)); |
} |
BufferQueue::AllocatedSurface::AllocatedSurface( |