| Index: content/common/gpu/client/context_provider_command_buffer.cc
|
| diff --git a/content/common/gpu/client/context_provider_command_buffer.cc b/content/common/gpu/client/context_provider_command_buffer.cc
|
| index 74bbf375caece9a56c5883ca887dfb2db98dbfb7..b51f48709a9d9fdd96978b5d91c56463c576cbde 100644
|
| --- a/content/common/gpu/client/context_provider_command_buffer.cc
|
| +++ b/content/common/gpu/client/context_provider_command_buffer.cc
|
| @@ -292,9 +292,9 @@ bool ContextProviderCommandBuffer::BindToCurrentThread() {
|
| return false;
|
| }
|
|
|
| - if (command_buffer_->GetLastError() != gpu::error::kNoError) {
|
| + if (command_buffer_->GetLastState().error != gpu::error::kNoError) {
|
| DLOG(ERROR) << "Context dead on arrival. Last error: "
|
| - << command_buffer_->GetLastError();
|
| + << command_buffer_->GetLastState().error;
|
| return false;
|
| }
|
|
|
|
|