| Index: content/common/gpu/gpu_channel_manager.h
|
| diff --git a/content/common/gpu/gpu_channel_manager.h b/content/common/gpu/gpu_channel_manager.h
|
| index a15a8adbb784bbb121f0d59643c847675a2a04e1..229642759150fe69579784d105bf0a23456b6ecb 100644
|
| --- a/content/common/gpu/gpu_channel_manager.h
|
| +++ b/content/common/gpu/gpu_channel_manager.h
|
| @@ -43,6 +43,7 @@ class ShaderTranslatorCache;
|
| }
|
|
|
| namespace IPC {
|
| +class AttachmentBroker;
|
| struct ChannelHandle;
|
| class SyncChannel;
|
| class MessageFilter;
|
| @@ -66,7 +67,8 @@ class CONTENT_EXPORT GpuChannelManager : public IPC::Listener,
|
| GpuWatchdog* watchdog,
|
| base::SingleThreadTaskRunner* io_task_runner,
|
| base::WaitableEvent* shutdown_event,
|
| - IPC::SyncChannel* channel);
|
| + IPC::SyncChannel* channel,
|
| + IPC::AttachmentBroker* broker);
|
| ~GpuChannelManager() override;
|
|
|
| // Remove the channel for a particular renderer.
|
| @@ -159,6 +161,8 @@ class CONTENT_EXPORT GpuChannelManager : public IPC::Listener,
|
| IPC::SyncChannel* channel_;
|
| scoped_refptr<IPC::MessageFilter> filter_;
|
| bool relinquish_resources_pending_;
|
| + // Must outlive this instance of GpuChannelManager.
|
| + IPC::AttachmentBroker* attachment_broker_;
|
|
|
| // Member variables should appear before the WeakPtrFactory, to ensure
|
| // that any WeakPtrs to Controller are invalidated before its members
|
|
|