summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/error_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/service/error_state.h')
-rw-r--r--gpu/command_buffer/service/error_state.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/gpu/command_buffer/service/error_state.h b/gpu/command_buffer/service/error_state.h
index 0e6a4b0..c4ef691 100644
--- a/gpu/command_buffer/service/error_state.h
+++ b/gpu/command_buffer/service/error_state.h
@@ -55,17 +55,12 @@ class Logger;
#define ERRORSTATE_CLEAR_REAL_GL_ERRORS(error_state, function_name) \
error_state->ClearRealGLErrors(__FILE__, __LINE__, function_name)
-class GPU_EXPORT ErrorStateClient {
- public:
- // GL_OUT_OF_MEMORY can cause side effects such as losing the context.
- virtual void OnOutOfMemoryError() = 0;
-};
class GPU_EXPORT ErrorState {
public:
virtual ~ErrorState();
- static ErrorState* Create(ErrorStateClient* client, Logger* logger);
+ static ErrorState* Create(Logger* logger);
virtual uint32 GetGLError() = 0;