| Index: gpu/command_buffer/service/in_process_command_buffer.cc
|
| diff --git a/gpu/command_buffer/service/in_process_command_buffer.cc b/gpu/command_buffer/service/in_process_command_buffer.cc
|
| index 77647efad256f9b37c572b320432098cc95e638f..2bc59090f70593466486dbbe1b2ae1615090cf3a 100644
|
| --- a/gpu/command_buffer/service/in_process_command_buffer.cc
|
| +++ b/gpu/command_buffer/service/in_process_command_buffer.cc
|
| @@ -198,12 +198,6 @@ InProcessCommandBuffer::~InProcessCommandBuffer() {
|
| Destroy();
|
| }
|
|
|
| -void InProcessCommandBuffer::OnResizeView(gfx::Size size, float scale_factor) {
|
| - CheckSequencedThread();
|
| - DCHECK(!surface_->IsOffscreen());
|
| - surface_->Resize(size);
|
| -}
|
| -
|
| bool InProcessCommandBuffer::MakeCurrent() {
|
| CheckSequencedThread();
|
| command_buffer_lock_.AssertAcquired();
|
| @@ -411,10 +405,6 @@ bool InProcessCommandBuffer::InitializeOnGpuThread(
|
| }
|
| *params.capabilities = decoder_->GetCapabilities();
|
|
|
| - if (!params.is_offscreen) {
|
| - decoder_->SetResizeCallback(base::Bind(
|
| - &InProcessCommandBuffer::OnResizeView, gpu_thread_weak_ptr_));
|
| - }
|
| decoder_->SetWaitSyncPointCallback(
|
| base::Bind(&InProcessCommandBuffer::WaitSyncPointOnGpuThread,
|
| base::Unretained(this)));
|
|
|