summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webmediaplayer_impl.h
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 23:40:45 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-05 23:40:45 +0000
commit122331d5cf1fdad245bb4e174c188ec3851b4d13 (patch)
treed9d47ff2304f96e0f5bbe97e080c80069ad45c9a /webkit/glue/webmediaplayer_impl.h
parentf164cea41472f9e9ec21579233e2c42a7b9d5184 (diff)
downloadchromium_src-122331d5cf1fdad245bb4e174c188ec3851b4d13.zip
chromium_src-122331d5cf1fdad245bb4e174c188ec3851b4d13.tar.gz
chromium_src-122331d5cf1fdad245bb4e174c188ec3851b4d13.tar.bz2
Third patch in making destructors of refcounted objects private.
BUG=26749 Review URL: http://codereview.chromium.org/363023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31169 0039d316-1c4b-4281-b951-d872f2087c98
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();