| Index: components/display_compositor/buffer_queue.cc
|
| diff --git a/components/display_compositor/buffer_queue.cc b/components/display_compositor/buffer_queue.cc
|
| index fafdb406b4feee839d0736a838647d135aa1101e..a827812a7796c5a4ee545b129d7d68b9e694cd84 100644
|
| --- a/components/display_compositor/buffer_queue.cc
|
| +++ b/components/display_compositor/buffer_queue.cc
|
| @@ -218,7 +218,7 @@ std::unique_ptr<BufferQueue::AllocatedSurface> BufferQueue::GetNextSurface() {
|
| // We don't want to allow anything more than triple buffering.
|
| DCHECK_LT(allocated_count_, 4U);
|
| std::unique_ptr<gfx::GpuMemoryBuffer> buffer(
|
| - gpu_memory_buffer_manager_->AllocateGpuMemoryBuffer(
|
| + gpu_memory_buffer_manager_->CreateGpuMemoryBuffer(
|
| size_, format_, gfx::BufferUsage::SCANOUT, surface_handle_));
|
| if (!buffer.get()) {
|
| gl_->DeleteTextures(1, &texture);
|
|
|