Index: gpu/command_buffer/service/in_process_command_buffer.h |
diff --git a/gpu/command_buffer/service/in_process_command_buffer.h b/gpu/command_buffer/service/in_process_command_buffer.h |
index af3956a29b312f72247ea789ff083df5d8bb98b0..f09b50590e93ba65c0df5faecf066b55978a89ae 100644 |
--- a/gpu/command_buffer/service/in_process_command_buffer.h |
+++ b/gpu/command_buffer/service/in_process_command_buffer.h |
@@ -83,7 +83,7 @@ class GPU_EXPORT InProcessCommandBuffer : public CommandBuffer, |
explicit InProcessCommandBuffer(const scoped_refptr<Service>& service); |
~InProcessCommandBuffer() override; |
- // If |surface| is not NULL, use it directly; in this case, the command |
+ // If |surface| is not null, use it directly; in this case, the command |
// buffer gpu thread must be the same as the client thread. Otherwise create |
// a new GLSurface. |
bool Initialize(scoped_refptr<gfx::GLSurface> surface, |
@@ -92,7 +92,6 @@ class GPU_EXPORT InProcessCommandBuffer : public CommandBuffer, |
const gfx::Size& size, |
const std::vector<int32_t>& attribs, |
gfx::GpuPreference gpu_preference, |
- const base::Closure& context_lost_callback, |
InProcessCommandBuffer* share_group, |
GpuMemoryBufferManager* gpu_memory_buffer_manager, |
ImageFactory* image_factory); |
@@ -257,7 +256,6 @@ class GPU_EXPORT InProcessCommandBuffer : public CommandBuffer, |
scoped_refptr<gfx::GLSurface> surface_; |
scoped_refptr<SyncPointOrderData> sync_point_order_data_; |
scoped_ptr<SyncPointClient> sync_point_client_; |
- base::Closure context_lost_callback_; |
bool delayed_work_pending_; // Used to throttle PerformDelayedWork. |
ImageFactory* image_factory_; |