| Index: webkit/tools/test_shell/layout_test_controller.h
|
| diff --git a/webkit/tools/test_shell/layout_test_controller.h b/webkit/tools/test_shell/layout_test_controller.h
|
| index 3ada2646d9b69f04bd0b271b7c8d8a70ecb23e1f..5e82b0164e7902446ed7e5a61959afdea8b44b31 100644
|
| --- a/webkit/tools/test_shell/layout_test_controller.h
|
| +++ b/webkit/tools/test_shell/layout_test_controller.h
|
| @@ -16,6 +16,7 @@
|
|
|
| #include <queue>
|
|
|
| +#include "base/memory/weak_ptr.h"
|
| #include "base/timer.h"
|
| #include "base/string16.h"
|
| #include "webkit/glue/cpp_bound_class.h"
|
| @@ -108,7 +109,7 @@ class LayoutTestController : public CppBoundClass {
|
|
|
| // Used for test timeouts.
|
| // TODO(ojan): Use base::OneShotTimer.
|
| - ScopedRunnableMethodFactory<LayoutTestController> timeout_factory_;
|
| + base::WeakPtrFactory<LayoutTestController> weak_factory_;
|
|
|
| // Non-owning pointer. The LayoutTestController is owned by the host.
|
| static TestShell* shell_;
|
|
|