Index: media/video/video_decode_accelerator.h |
diff --git a/media/video/video_decode_accelerator.h b/media/video/video_decode_accelerator.h |
index 5fa0d2149348fd07854f14993ab2d3a0988b0c3a..1c98b1bb17c1ebcd3ad1ddbeda15a056ba04b109 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; |
@@ -73,6 +71,9 @@ class MEDIA_EXPORT VideoDecodeAccelerator |
// Callback to notify about decoding errors. |
virtual void NotifyError(Error error) = 0; |
+ |
+ protected: |
+ virtual ~Client() {} |
}; |
// Video decoder functions. |