| Index: content/common/gpu/gpu_channel.h
|
| diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h
|
| index d9c51922c7153873401eef30fca646b20a5f98e5..42e4d8b0fe099c77e2180400d0823a63cbd68e86 100644
|
| --- a/content/common/gpu/gpu_channel.h
|
| +++ b/content/common/gpu/gpu_channel.h
|
| @@ -45,7 +45,6 @@ class GpuChannel : public IPC::Channel::Listener,
|
| gfx::GLShareGroup* share_group,
|
| int client_id,
|
| bool software);
|
| - virtual ~GpuChannel();
|
|
|
| bool Init(base::MessageLoopProxy* io_message_loop,
|
| base::WaitableEvent* shutdown_event);
|
| @@ -106,7 +105,12 @@ class GpuChannel : public IPC::Channel::Listener,
|
| // discrete GPU even if they would otherwise use the integrated GPU.
|
| bool ShouldPreferDiscreteGpu() const;
|
|
|
| + protected:
|
| + virtual ~GpuChannel();
|
| +
|
| private:
|
| + friend class base::RefCountedThreadSafe<GpuChannel>;
|
| +
|
| void OnDestroy();
|
|
|
| bool OnControlMessageReceived(const IPC::Message& msg);
|
|
|