Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2095)

Unified Diff: content/renderer/media/rtc_video_decoder.h

Issue 10071038: RefCounted types should not have public destructors, content/browser part 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright bump Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/media/render_audiosourceprovider.cc ('k') | content/renderer/media/rtc_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/rtc_video_decoder.h
diff --git a/content/renderer/media/rtc_video_decoder.h b/content/renderer/media/rtc_video_decoder.h
index 8d1f9c0f502aedefbd093fbc2ec52edf938209e8..ca615431b960912dd847149728b6124d508bd820 100644
--- a/content/renderer/media/rtc_video_decoder.h
+++ b/content/renderer/media/rtc_video_decoder.h
@@ -28,7 +28,6 @@ class CONTENT_EXPORT RTCVideoDecoder
NON_EXPORTED_BASE(public cricket::VideoRenderer) {
public:
RTCVideoDecoder(MessageLoop* message_loop, const std::string& url);
- virtual ~RTCVideoDecoder();
// Filter implementation.
virtual void Play(const base::Closure& callback) OVERRIDE;
@@ -50,6 +49,9 @@ class CONTENT_EXPORT RTCVideoDecoder
virtual bool SetSize(int width, int height, int reserved) OVERRIDE;
virtual bool RenderFrame(const cricket::VideoFrame* frame) OVERRIDE;
+ protected:
+ virtual ~RTCVideoDecoder();
+
private:
friend class RTCVideoDecoderTest;
FRIEND_TEST_ALL_PREFIXES(RTCVideoDecoderTest, Initialize_Successful);
« no previous file with comments | « content/renderer/media/render_audiosourceprovider.cc ('k') | content/renderer/media/rtc_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698