Index: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h |
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h |
index 31a5c81ffcb8409aff3777df119e129fde743276..8cad78161144b74986bca52039461d5811916b68 100644 |
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h |
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h |
@@ -77,6 +77,8 @@ class WebGraphicsContext3DCommandBufferImpl |
virtual int width(); |
virtual int height(); |
+ virtual void playDead(); |
+ |
virtual bool isGLES2Compliant(); |
virtual bool setParentContext(WebGraphicsContext3D* parent_context); |
@@ -535,6 +537,7 @@ class WebGraphicsContext3DCommandBufferImpl |
WebKit::WebGraphicsContext3D::Attributes attributes_; |
gfx::GpuPreference gpu_preference_; |
int cached_width_, cached_height_; |
+ bool dead_; |
// For tracking which FBO is bound. |
WebGLId bound_fbo_; |