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

Unified Diff: media/video/video_decode_accelerator.h

Issue 10383262: RefCounted types should not have public destructors, delegate cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make win bot happy Created 8 years, 6 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/video/capture/video_capture.h ('k') | media/webm/webm_stream_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/video/video_decode_accelerator.h
diff --git a/media/video/video_decode_accelerator.h b/media/video/video_decode_accelerator.h
index c04d8dc4baa1cc51d6a490b95337b9253b1d6c7a..83d0b95631ca775fdfcb9ec34ef515568481f7dc 100644
--- a/media/video/video_decode_accelerator.h
+++ b/media/video/video_decode_accelerator.h
@@ -46,8 +46,6 @@ class MEDIA_EXPORT VideoDecodeAccelerator
// implements.
class MEDIA_EXPORT Client {
public:
- virtual ~Client() {}
-
// Callback to notify client that decoder has been initialized.
virtual void NotifyInitializeDone() = 0;
@@ -74,6 +72,9 @@ class MEDIA_EXPORT VideoDecodeAccelerator
// Callback to notify about decoding errors.
virtual void NotifyError(Error error) = 0;
+
+ protected:
+ virtual ~Client() {}
};
// Video decoder functions.
« no previous file with comments | « media/video/capture/video_capture.h ('k') | media/webm/webm_stream_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698