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

This commit is contained in:
Timothy B. Terriberry 2012-02-15 14:32:11 -08:00
parent 1f81fa707e
commit 7cc584ea37

View File

@ -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;
};