Index: gpu/command_buffer/client/gles2_implementation_impl_autogen.h |
diff --git a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h |
index fdedf437a7e4cd6499beca1a069ed0e6ef92c3d4..9264680c22e96b78314b35b410e66d6c63730e10 100644 |
--- a/gpu/command_buffer/client/gles2_implementation_impl_autogen.h |
+++ b/gpu/command_buffer/client/gles2_implementation_impl_autogen.h |
@@ -1693,6 +1693,14 @@ void GLES2Implementation::DiscardFramebufferEXT( |
return; |
} |
helper_->DiscardFramebufferEXTImmediate(target, count, attachments); |
+ CheckGLError(); |
+} |
+ |
+void GLES2Implementation::LoseContextCHROMIUM() { |
+ GPU_CLIENT_SINGLE_THREAD_CHECK(); |
+ GPU_CLIENT_LOG("[" << GetLogPrefix() << "] glLoseContextCHROMIUM(" << ")"); |
+ helper_->LoseContextCHROMIUM(); |
+ CheckGLError(); |
} |
#endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_IMPL_AUTOGEN_H_ |