summaryrefslogtreecommitdiffstats
path: root/remoting/client/plugin/pepper_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/client/plugin/pepper_view.h')
-rw-r--r--remoting/client/plugin/pepper_view.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/client/plugin/pepper_view.h b/remoting/client/plugin/pepper_view.h
index 9036650..a64ae7f 100644
--- a/remoting/client/plugin/pepper_view.h
+++ b/remoting/client/plugin/pepper_view.h
@@ -13,7 +13,7 @@
#include <vector>
#include "base/memory/scoped_ptr.h"
-#include "base/task.h"
+#include "base/memory/weak_ptr.h"
#include "media/base/video_frame.h"
#include "ppapi/cpp/graphics_2d.h"
#include "ppapi/cpp/point.h"
@@ -103,7 +103,7 @@ class PepperView : public ChromotingView,
bool is_static_fill_;
uint32 static_fill_color_;
- ScopedRunnableMethodFactory<PepperView> task_factory_;
+ base::WeakPtrFactory<PepperView> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(PepperView);
};