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

Unified Diff: media/video/capture/video_capture.h

Issue 10067035: RefCounted types should not have public destructors, media/ and gpu/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: media/video/capture/video_capture.h
diff --git a/media/video/capture/video_capture.h b/media/video/capture/video_capture.h
index 0af1abfecb42a8fa5403541e47fa8955de470826..79a4ca8a7a855d22cf523dae737c76fbdf5a0e10 100644
--- a/media/video/capture/video_capture.h
+++ b/media/video/capture/video_capture.h
@@ -27,7 +27,6 @@ class MEDIA_EXPORT VideoCapture {
stride(0),
buffer_size(0),
memory_pointer(NULL) {}
- ~VideoFrameBuffer() {}
int width;
int height;
@@ -37,6 +36,9 @@ class MEDIA_EXPORT VideoCapture {
base::Time timestamp;
private:
+ friend class base::RefCountedThreadSafe<VideoFrameBuffer>;
+ ~VideoFrameBuffer() {}
+
DISALLOW_COPY_AND_ASSIGN(VideoFrameBuffer);
};
« media/audio/audio_output_dispatcher.h ('K') | « media/filters/video_renderer_base.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698