From e90fcbf7f726d5395daf8f09ded173f8a68c403e Mon Sep 17 00:00:00 2001 From: Thomas Zimmermann Date: Tue, 10 Mar 2015 13:44:01 +0100 Subject: [PATCH] Bug 1137151: Marked destructor of |android::MediaCodecReader| as protected, r=sotaro --- dom/media/omx/MediaCodecReader.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dom/media/omx/MediaCodecReader.h b/dom/media/omx/MediaCodecReader.h index 9e9a2ea8815d..33c933dd9d19 100644 --- a/dom/media/omx/MediaCodecReader.h +++ b/dom/media/omx/MediaCodecReader.h @@ -275,10 +275,12 @@ private: NS_INLINE_DECL_THREADSAFE_REFCOUNTING(SignalObject) SignalObject(const char* aName); - ~SignalObject(); void Wait(); void Signal(); + protected: + ~SignalObject(); + private: // Forbidden SignalObject() = delete;