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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/remoting/client/plugin/pepper_view.h b/remoting/client/plugin/pepper_view.h
index ec1caf9..8db4753 100644
--- a/remoting/client/plugin/pepper_view.h
+++ b/remoting/client/plugin/pepper_view.h
@@ -24,7 +24,9 @@ class ClientContext;
class FrameProducer;
class PepperView : public ChromotingView,
- public FrameConsumer {
+ public FrameConsumer,
+ public base::SupportsWeakPtr<PepperView>
+{
public:
// Constructs a PepperView for the |instance|. The |instance|, |context|
// and |producer| must outlive this class.
@@ -114,8 +116,6 @@ class PepperView : public ChromotingView,
// True after Initialize() has been called, until TearDown().
bool is_initialized_;
- base::WeakPtrFactory<PepperView> weak_factory_;
-
DISALLOW_COPY_AND_ASSIGN(PepperView);
};