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. |