| Index: content/common/gpu/client/context_provider_command_buffer.h
|
| diff --git a/content/common/gpu/client/context_provider_command_buffer.h b/content/common/gpu/client/context_provider_command_buffer.h
|
| index 1e0d23f82b915609416ce8473e6d4f83d6fd24bb..1c5e9f91deafc1df6371e7b40b8b32300afe90a7 100644
|
| --- a/content/common/gpu/client/context_provider_command_buffer.h
|
| +++ b/content/common/gpu/client/context_provider_command_buffer.h
|
| @@ -55,7 +55,8 @@ class CONTENT_EXPORT ContextProviderCommandBuffer
|
| protected:
|
| ContextProviderCommandBuffer(
|
| scoped_ptr<WebGraphicsContext3DCommandBufferImpl> context3d,
|
| - CommandBufferContextType type);
|
| + CommandBufferContextType type,
|
| + bool enable_memory_allocation_callback);
|
| ~ContextProviderCommandBuffer() override;
|
|
|
| void OnLostContext();
|
| @@ -76,6 +77,7 @@ class CONTENT_EXPORT ContextProviderCommandBuffer
|
|
|
| LostContextCallback lost_context_callback_;
|
| MemoryPolicyChangedCallback memory_policy_changed_callback_;
|
| + const bool enable_memory_allocation_callback_;
|
|
|
| base::Lock main_thread_lock_;
|
| bool destroyed_;
|
|
|