| Index: gpu/command_buffer/client/gl_in_process_context.h
|
| diff --git a/gpu/command_buffer/client/gl_in_process_context.h b/gpu/command_buffer/client/gl_in_process_context.h
|
| index c4fb70f6daf371f38b13c36e3ff03509594be2bd..9e38b1c84bf2041bad89f4334f0e809b62dc97af 100644
|
| --- a/gpu/command_buffer/client/gl_in_process_context.h
|
| +++ b/gpu/command_buffer/client/gl_in_process_context.h
|
| @@ -21,15 +21,14 @@ namespace gles2 {
|
| class GLES2Implementation;
|
| }
|
|
|
| -class GpuMemoryBuffer;
|
| +class GpuMemoryBufferFactory;
|
|
|
| class GLES2_IMPL_EXPORT GLInProcessContext {
|
| public:
|
| virtual ~GLInProcessContext() {}
|
|
|
| - typedef scoped_ptr< ::gpu::GpuMemoryBuffer> GpuMemoryBufferCreator(
|
| - int width, int height);
|
| - static void SetGpuMemoryBufferCreator(GpuMemoryBufferCreator* creator);
|
| + // Must be called before any GLInProcessContext instances are created.
|
| + static void SetGpuMemoryBufferFactory(GpuMemoryBufferFactory* factory);
|
|
|
| // Must be called before any GLInProcessContext instances are created.
|
| // Default value is false.
|
|
|