| Index: content/gpu/gpu_watchdog_thread.h
|
| diff --git a/content/gpu/gpu_watchdog_thread.h b/content/gpu/gpu_watchdog_thread.h
|
| index e3054c38b847d356623a92a3491abc71cba58ef8..702f83a6ef3bc88a3bb7133065bd0bbdc615e975 100644
|
| --- a/content/gpu/gpu_watchdog_thread.h
|
| +++ b/content/gpu/gpu_watchdog_thread.h
|
| @@ -7,8 +7,8 @@
|
|
|
| #include "base/memory/ref_counted.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "base/message_loop.h"
|
| -#include "base/task.h"
|
| #include "base/threading/thread.h"
|
| #include "base/time.h"
|
| #include "content/common/gpu/gpu_watchdog.h"
|
| @@ -69,8 +69,7 @@ class GpuWatchdogThread : public base::Thread,
|
|
|
| base::Time arm_absolute_time_;
|
|
|
| - typedef ScopedRunnableMethodFactory<GpuWatchdogThread> MethodFactory;
|
| - scoped_ptr<MethodFactory> method_factory_;
|
| + base::WeakPtrFactory<GpuWatchdogThread> weak_factory_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(GpuWatchdogThread);
|
| };
|
|
|