Index: gpu/command_buffer/service/gles2_cmd_decoder_autogen.h |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h b/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h |
index bf9efeb84f9b66e152e2659120826d3daa4ccbef..a4026872ffe38150963f443a23cd00638cb31b06 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_autogen.h |
@@ -1048,7 +1048,7 @@ error::Error GLES2DecoderImpl::HandleGetError( |
if (!result_dst) { |
return error::kOutOfBounds; |
} |
- *result_dst = GetGLError(); |
+ *result_dst = GetErrorState()->GetGLError(); |
return error::kNoError; |
} |