Index: content/common/gpu/client/command_buffer_proxy_impl.cc |
diff --git a/content/common/gpu/client/command_buffer_proxy_impl.cc b/content/common/gpu/client/command_buffer_proxy_impl.cc |
index b24823a31f7768f1cba428d4a06676bae9c72665..b24e7c62cd2f066a84842d94162c8367270df48a 100644 |
--- a/content/common/gpu/client/command_buffer_proxy_impl.cc |
+++ b/content/common/gpu/client/command_buffer_proxy_impl.cc |
@@ -163,18 +163,6 @@ bool CommandBufferProxyImpl::Initialize() { |
return true; |
} |
-gpu::CommandBuffer::State CommandBufferProxyImpl::GetState() { |
- // Send will flag state with lost context if IPC fails. |
- if (last_state_.error == gpu::error::kNoError) { |
- gpu::CommandBuffer::State state; |
- if (Send(new GpuCommandBufferMsg_GetState(route_id_, &state))) |
- OnUpdateState(state); |
- } |
- |
- TryUpdateState(); |
- return last_state_; |
-} |
- |
gpu::CommandBuffer::State CommandBufferProxyImpl::GetLastState() { |
return last_state_; |
} |