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

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: Rebased Created 8 years, 7 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 | « media/filters/video_renderer_base.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/capture/video_capture.h
diff --git a/media/video/capture/video_capture.h b/media/video/capture/video_capture.h
index 4f583b3e06f3d72ded838c35489cff872324c7ca..b825dff7592471bcde3f7586cc744a85609cb697 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);
};
« no previous file with comments | « media/filters/video_renderer_base.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698