Index: gpu/command_buffer/tests/gl_manager.cc |
diff --git a/gpu/command_buffer/tests/gl_manager.cc b/gpu/command_buffer/tests/gl_manager.cc |
index 3211a35e02fa1b3af596c3e62b846d428db9ef28..2471451a0e2d55ca12af9d6ca87fc2399b0aff56 100644 |
--- a/gpu/command_buffer/tests/gl_manager.cc |
+++ b/gpu/command_buffer/tests/gl_manager.cc |
@@ -259,7 +259,7 @@ const gpu::gles2::FeatureInfo::Workarounds& GLManager::workarounds() const { |
void GLManager::PumpCommands() { |
decoder_->MakeCurrent(); |
gpu_scheduler_->PutChanged(); |
- ::gpu::CommandBuffer::State state = command_buffer_->GetState(); |
+ ::gpu::CommandBuffer::State state = command_buffer_->GetLastState(); |
if (!context_lost_allowed_) { |
ASSERT_EQ(::gpu::error::kNoError, state.error); |
} |