Commit 32311319 authored by Dão Gottwald's avatar Dão Gottwald
Browse files

Backed out experimental code from changeset c54926bae714 (CLOSED TREE)

parent 8f659674
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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));
@@ -339,7 +338,7 @@ void nsGIFDecoder2::BeginGIF()
//******************************************************************************
void nsGIFDecoder2::EndGIF(PRBool aSuccess)
{
  if (mEnded)
  if (!mGIFOpen)
    return;

  if (aSuccess)
@@ -354,7 +353,6 @@ void nsGIFDecoder2::EndGIF(PRBool aSuccess)
  mImageContainer->SetLoopCount(mGIFStruct.loop_count);

  mGIFOpen = PR_FALSE;
  mEnded = PR_TRUE;
}

//******************************************************************************
+0 −1
Original line number Diff line number Diff line
@@ -114,7 +114,6 @@ private:
  PRPackedBool mGIFOpen;
  PRPackedBool mSawTransparency;
  PRPackedBool mError;
  PRPackedBool mEnded;

  gif_struct mGIFStruct;
};