| Index: webkit/tools/test_shell/webwidget_host.h
|
| diff --git a/webkit/tools/test_shell/webwidget_host.h b/webkit/tools/test_shell/webwidget_host.h
|
| index b16ba7e9f7789c7fb4ab6061d0ee7057acf61bd1..130c81c099b60c624914409c8bfa282292a5598c 100644
|
| --- a/webkit/tools/test_shell/webwidget_host.h
|
| +++ b/webkit/tools/test_shell/webwidget_host.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "base/basictypes.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "base/task.h"
|
| #include "skia/ext/platform_canvas.h"
|
| #include "ui/gfx/native_widget_types.h"
|
| @@ -153,7 +154,7 @@ class WebWidgetHost {
|
| #endif
|
|
|
| private:
|
| - ScopedRunnableMethodFactory<WebWidgetHost> factory_;
|
| + base::WeakPtrFactory<WebWidgetHost> weak_factory_;
|
| };
|
|
|
| #endif // WEBKIT_TOOLS_TEST_SHELL_WEBWIDGET_HOST_H_
|
|
|