Index: content/common/gpu/gpu_command_buffer_stub.cc |
diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc |
index e14cf986092b9c8817dcd3024e2474890734c368..de475a5cdc0383f6e5871e7e9c3fe33c6316e9df 100644 |
--- a/content/common/gpu/gpu_command_buffer_stub.cc |
+++ b/content/common/gpu/gpu_command_buffer_stub.cc |
@@ -671,7 +671,7 @@ void GpuCommandBufferStub::OnParseError() { |
DCHECK(command_buffer_.get()); |
gpu::CommandBuffer::State state = command_buffer_->GetLastState(); |
IPC::Message* msg = new GpuCommandBufferMsg_Destroyed( |
- route_id_, state.context_lost_reason); |
+ route_id_, state.context_lost_reason, state.error); |
msg->set_unblock(true); |
Send(msg); |
@@ -1089,7 +1089,7 @@ void GpuCommandBufferStub::MarkContextLost() { |
command_buffer_->SetContextLostReason(gpu::error::kUnknown); |
if (decoder_) |
- decoder_->LoseContext(GL_UNKNOWN_CONTEXT_RESET_ARB); |
+ decoder_->MarkContextLost(gpu::error::kUnknown); |
command_buffer_->SetParseError(gpu::error::kLostContext); |
} |