Loading modules/libpr0n/decoders/gif/nsGIFDecoder2.cpp +1 −3 Original line number Diff line number Diff line Loading @@ -122,7 +122,6 @@ nsGIFDecoder2::nsGIFDecoder2() , mGIFOpen(PR_FALSE) , mSawTransparency(PR_FALSE) , mError(PR_FALSE) , mEnded(PR_FALSE) { // Clear out the structure, excluding the arrays memset(&mGIFStruct, 0, sizeof(mGIFStruct)); Loading Loading @@ -339,7 +338,7 @@ void nsGIFDecoder2::BeginGIF() //****************************************************************************** void nsGIFDecoder2::EndGIF(PRBool aSuccess) { if (mEnded) if (!mGIFOpen) return; if (aSuccess) Loading @@ -354,7 +353,6 @@ void nsGIFDecoder2::EndGIF(PRBool aSuccess) mImageContainer->SetLoopCount(mGIFStruct.loop_count); mGIFOpen = PR_FALSE; mEnded = PR_TRUE; } //****************************************************************************** Loading modules/libpr0n/decoders/gif/nsGIFDecoder2.h +0 −1 Original line number Diff line number Diff line Loading @@ -114,7 +114,6 @@ private: PRPackedBool mGIFOpen; PRPackedBool mSawTransparency; PRPackedBool mError; PRPackedBool mEnded; gif_struct mGIFStruct; }; Loading Loading
modules/libpr0n/decoders/gif/nsGIFDecoder2.cpp +1 −3 Original line number Diff line number Diff line Loading @@ -122,7 +122,6 @@ nsGIFDecoder2::nsGIFDecoder2() , mGIFOpen(PR_FALSE) , mSawTransparency(PR_FALSE) , mError(PR_FALSE) , mEnded(PR_FALSE) { // Clear out the structure, excluding the arrays memset(&mGIFStruct, 0, sizeof(mGIFStruct)); Loading Loading @@ -339,7 +338,7 @@ void nsGIFDecoder2::BeginGIF() //****************************************************************************** void nsGIFDecoder2::EndGIF(PRBool aSuccess) { if (mEnded) if (!mGIFOpen) return; if (aSuccess) Loading @@ -354,7 +353,6 @@ void nsGIFDecoder2::EndGIF(PRBool aSuccess) mImageContainer->SetLoopCount(mGIFStruct.loop_count); mGIFOpen = PR_FALSE; mEnded = PR_TRUE; } //****************************************************************************** Loading
modules/libpr0n/decoders/gif/nsGIFDecoder2.h +0 −1 Original line number Diff line number Diff line Loading @@ -114,7 +114,6 @@ private: PRPackedBool mGIFOpen; PRPackedBool mSawTransparency; PRPackedBool mError; PRPackedBool mEnded; gif_struct mGIFStruct; }; Loading