| Index: gpu/command_buffer/service/error_state.h
|
| diff --git a/gpu/command_buffer/service/error_state.h b/gpu/command_buffer/service/error_state.h
|
| index 0e6a4b067a146d5b7c0749df46c470098f58dff4..c4ef691925897c95d46758e30119734b1a9e7e20 100644
|
| --- a/gpu/command_buffer/service/error_state.h
|
| +++ b/gpu/command_buffer/service/error_state.h
|
| @@ -55,17 +55,12 @@
|
| #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;
|
|
|
|
|