Index: gpu/command_buffer/service/gpu_scheduler.h |
=================================================================== |
--- gpu/command_buffer/service/gpu_scheduler.h (revision 86168) |
+++ gpu/command_buffer/service/gpu_scheduler.h (working copy) |
@@ -27,6 +27,7 @@ |
namespace gfx { |
class GLContext; |
+class GLSurface; |
} |
namespace gpu { |
@@ -136,8 +137,9 @@ |
gles2::GLES2Decoder* decoder() const { return decoder_.get(); } |
protected: |
- // Perform common initialization. Takes ownership of GLContext. |
+ // Perform common initialization. Takes ownership of GLSurface and GLContext. |
bool InitializeCommon( |
+ gfx::GLSurface* surface, |
gfx::GLContext* context, |
const gfx::Size& size, |
const gles2::DisallowedExtensions& disallowed_extensions, |