Bug 726580, Stop shadowing PlanarYCbCr::mOffscreenFormat, r=bas

This commit is contained in:
Timothy B. Terriberry 2012-02-15 14:32:11 -08:00
Родитель 2218d9779d
Коммит 112a28e909
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -62,8 +62,9 @@ public:
BasicPlanarYCbCrImage(const gfxIntSize& aScaleHint, gfxImageFormat aOffscreenFormat, BufferRecycleBin *aRecycleBin)
: PlanarYCbCrImage(aRecycleBin)
, mScaleHint(aScaleHint)
, mOffscreenFormat(aOffscreenFormat)
{}
{
SetOffscreenFormat(aOffscreenFormat);
}
~BasicPlanarYCbCrImage()
{
@ -79,7 +80,6 @@ public:
private:
gfxIntSize mScaleHint;
gfxImageFormat mOffscreenFormat;
int mStride;
nsAutoArrayPtr<PRUint8> mDecodedBuffer;
};