summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webmediaplayer_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/webmediaplayer_impl.h')
-rw-r--r--webkit/glue/webmediaplayer_impl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/webkit/glue/webmediaplayer_impl.h b/webkit/glue/webmediaplayer_impl.h
index 97c4d89..538f22b 100644
--- a/webkit/glue/webmediaplayer_impl.h
+++ b/webkit/glue/webmediaplayer_impl.h
@@ -91,7 +91,6 @@ class WebMediaPlayerImpl : public WebKit::WebMediaPlayer,
public:
Proxy(MessageLoop* render_loop,
WebMediaPlayerImpl* webmediaplayer);
- virtual ~Proxy();
// Public methods called from the video renderer.
void Repaint();
@@ -111,6 +110,10 @@ class WebMediaPlayerImpl : public WebKit::WebMediaPlayer,
void NetworkEventCallback();
private:
+ friend class base::RefCountedThreadSafe<Proxy>;
+
+ virtual ~Proxy();
+
// Invoke |webmediaplayer_| to perform a repaint.
void RepaintTask();