| Index: content/common/gpu/gpu_channel.h
|
| diff --git a/content/common/gpu/gpu_channel.h b/content/common/gpu/gpu_channel.h
|
| index 8903b7471327f512381b1dbe6bc9c36a06a03ca1..c7fe15c57959476ac4e1510b19f8f2a7b0736471 100644
|
| --- a/content/common/gpu/gpu_channel.h
|
| +++ b/content/common/gpu/gpu_channel.h
|
| @@ -12,6 +12,7 @@
|
| #include "base/id_map.h"
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "base/process.h"
|
| #include "build/build_config.h"
|
| #include "content/common/gpu/gpu_command_buffer_stub.h"
|
| @@ -185,7 +186,7 @@ class GpuChannel : public IPC::Channel::Listener,
|
| bool processed_get_state_fast_;
|
| int32 num_contexts_preferring_discrete_gpu_;
|
|
|
| - ScopedRunnableMethodFactory<GpuChannel> task_factory_;
|
| + base::WeakPtrFactory<GpuChannel> weak_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(GpuChannel);
|
| };
|
|
|