| 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 c20d792c63acd0396e8a874772d96673ed4fc4fa..9ead8dc894782c1c89ec5984b08bb86ec4bd49e8 100644
|
| --- a/content/common/gpu/gpu_channel_manager.h
|
| +++ b/content/common/gpu/gpu_channel_manager.h
|
| @@ -8,6 +8,7 @@
|
|
|
| #include "base/hash_tables.h"
|
| #include "base/memory/ref_counted.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "base/message_loop_proxy.h"
|
| #include "build/build_config.h"
|
| #include "ipc/ipc_channel.h"
|
| @@ -57,7 +58,7 @@ class GpuChannelManager : public IPC::Channel::Listener,
|
|
|
| void LoseAllContexts();
|
|
|
| - ScopedRunnableMethodFactory<GpuChannelManager> method_factory_;
|
| + base::WeakPtrFactory<GpuChannelManager> weak_factory_;
|
|
|
| int GenerateRouteID();
|
| void AddRoute(int32 routing_id, IPC::Channel::Listener* listener);
|
|
|