diff options
Diffstat (limited to 'content/renderer/gpu/command_buffer_proxy.cc')
-rw-r--r-- | content/renderer/gpu/command_buffer_proxy.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/content/renderer/gpu/command_buffer_proxy.cc b/content/renderer/gpu/command_buffer_proxy.cc index caa1de5..1caeb5a 100644 --- a/content/renderer/gpu/command_buffer_proxy.cc +++ b/content/renderer/gpu/command_buffer_proxy.cc @@ -380,13 +380,6 @@ void CommandBufferProxy::SetSwapBuffersCallback(Callback0::Type* callback) { swap_buffers_callback_.reset(callback); } -void CommandBufferProxy::ResizeOffscreenFrameBuffer(const gfx::Size& size) { - if (last_state_.error != gpu::error::kNoError) - return; - - Send(new GpuCommandBufferMsg_ResizeOffscreenFrameBuffer(route_id_, size)); -} - void CommandBufferProxy::SetNotifyRepaintTask(Task* task) { notify_repaint_task_.reset(task); } @@ -413,15 +406,6 @@ CommandBufferProxy::CreateVideoDecoder( return decoder_host; } -#if defined(OS_MACOSX) -void CommandBufferProxy::SetWindowSize(const gfx::Size& size) { - if (last_state_.error != gpu::error::kNoError) - return; - - Send(new GpuCommandBufferMsg_SetWindowSize(route_id_, size)); -} -#endif - bool CommandBufferProxy::Send(IPC::Message* msg) { // Caller should not intentionally send a message if the context is lost. DCHECK(last_state_.error == gpu::error::kNoError); |