Index: gpu/ipc/in_process_command_buffer.h |
diff --git a/gpu/ipc/in_process_command_buffer.h b/gpu/ipc/in_process_command_buffer.h |
index 33fe5526db9574d2f67a2e0f1dc65d116f407ef9..ac03be57f2c76e95e2259af2459fc2c20594d98b 100644 |
--- a/gpu/ipc/in_process_command_buffer.h |
+++ b/gpu/ipc/in_process_command_buffer.h |
@@ -52,6 +52,7 @@ class Size; |
namespace gpu { |
+class ServiceDiscardableManager; |
class SyncPointClientState; |
class SyncPointOrderData; |
class SyncPointManager; |
@@ -316,6 +317,9 @@ class GPU_EXPORT InProcessCommandBuffer : public CommandBuffer, |
base::WaitableEvent flush_event_; |
scoped_refptr<Service> service_; |
+ // Must outlive |context_group_|. |
+ std::unique_ptr<ServiceDiscardableManager> discardable_manager_; |
+ |
// The group of contexts that share namespaces with this context. |
scoped_refptr<gles2::ContextGroup> context_group_; |