Index: gpu/command_buffer/service/gl_state_restorer_impl.h |
diff --git a/gpu/command_buffer/service/gl_state_restorer_impl.h b/gpu/command_buffer/service/gl_state_restorer_impl.h |
index 032bf7251867059477a30c649d4324d863360af4..625d8300b3826d1703727d558a3ffce65b3bd701 100644 |
--- a/gpu/command_buffer/service/gl_state_restorer_impl.h |
+++ b/gpu/command_buffer/service/gl_state_restorer_impl.h |
@@ -12,6 +12,10 @@ |
#include "gpu/gpu_export.h" |
#include "ui/gl/gl_state_restorer.h" |
+namespace gfx { |
+class DirtyTextureState; |
+} |
+ |
namespace gpu { |
namespace gles2 { |
class GLES2Decoder; |
@@ -24,7 +28,8 @@ class GPU_EXPORT GLStateRestorerImpl : public gfx::GLStateRestorer { |
virtual ~GLStateRestorerImpl(); |
virtual bool IsInitialized() OVERRIDE; |
- virtual void RestoreState() OVERRIDE; |
+ virtual void RestoreState( |
+ const gfx::DirtyTextureState* dirty_texture_state) OVERRIDE; |
virtual void RestoreAllTextureUnitBindings() OVERRIDE; |
virtual void RestoreFramebufferBindings() OVERRIDE; |