Bug 1158931 - Fix static assertion compilation error; r=snorp

Move the destructor for WebrtcAndroidMediaCodec to be protected instead of public.
This commit is contained in:
Nathan Toone 2015-04-27 14:23:00 -06:00 коммит произвёл James Willcox
Родитель 5af3e25ba7
Коммит a80a28725a
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -174,9 +174,6 @@ public:
CSFLogDebug(logTag, "%s ", __FUNCTION__);
}
virtual ~WebrtcAndroidMediaCodec() {
}
nsresult Configure(uint32_t width,
uint32_t height,
const jobject aSurface,
@ -507,6 +504,10 @@ public:
mEncoderCallback = aCallback;
}
protected:
virtual ~WebrtcAndroidMediaCodec() {
}
private:
class OutputDrain : public MediaCodecOutputDrain
{