Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(369)

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_autogen.h

Issue 14308014: Clean up of GLES2 Command Decoder by moving some of the error state into a separate class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the remaining tests. Added mock ErrorState. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}

Powered by Google App Engine
This is Rietveld 408576698