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

Unified Diff: media/filters/ffmpeg_demuxer.h

Issue 360042: First patch in making destructors of refcounted objects private. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 1 month 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
Index: media/filters/ffmpeg_demuxer.h
===================================================================
--- media/filters/ffmpeg_demuxer.h (revision 30973)
+++ media/filters/ffmpeg_demuxer.h (working copy)
@@ -54,8 +54,6 @@
// inside |stream|.
FFmpegDemuxerStream(FFmpegDemuxer* demuxer, AVStream* stream);
- virtual ~FFmpegDemuxerStream();
-
// Returns true is this stream has pending reads, false otherwise.
//
// Safe to call on any thread.
@@ -85,6 +83,8 @@
virtual void* QueryInterface(const char* interface_id);
private:
+ virtual ~FFmpegDemuxerStream();
+
// Carries out enqueuing a pending read on the demuxer thread.
void ReadTask(Callback1<Buffer*>::Type* read_callback);
« media/base/factory.h ('K') | « media/base/factory.h ('k') | printing/printed_document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698