Bug 240274 - remove PopState() argument. r=blizzard, sr=bryner

git-svn-id: svn://10.0.0.236/trunk@155065 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
tor%cs.brown.edu
2004-04-18 13:55:11 +00:00
parent 5a6ece6544
commit b93772cbd4
5 changed files with 5 additions and 10 deletions

View File

@@ -3240,7 +3240,7 @@ nsCSSRendering::PaintBackgroundWithSC(nsIPresContext* aPresContext,
#if (!defined(XP_UNIX) && !defined(XP_BEOS)) || defined(XP_MACOSX)
// Restore clipping
aRenderingContext.PopState(clipState);
aRenderingContext.PopState();
#endif
}

View File

@@ -3240,7 +3240,7 @@ nsCSSRendering::PaintBackgroundWithSC(nsIPresContext* aPresContext,
#if (!defined(XP_UNIX) && !defined(XP_BEOS)) || defined(XP_MACOSX)
// Restore clipping
aRenderingContext.PopState(clipState);
aRenderingContext.PopState();
#endif
}

View File

@@ -228,8 +228,7 @@ nsSVGLibartBitmapGdk::UnlockRenderingContext()
mRenderingContext->GetDrawingSurface((nsDrawingSurface*)&surface);
NS_ASSERTION(surface, "null surface");
PRBool clipEmpty;
mRenderingContext->PopState(clipEmpty);
mRenderingContext->PopState();
mRenderingContext->SelectOffScreenDrawingSurface(mTempSurface);
mTempSurface = nsnull;

View File

@@ -1476,10 +1476,7 @@ void nsChildView::EndDraw()
mDrawing = PR_FALSE;
if (mTempRenderingContextMadeHere)
{
PRBool clipEmpty;
mTempRenderingContext->PopState(clipEmpty);
}
mTempRenderingContext->PopState();
NS_RELEASE(mTempRenderingContext);
}

View File

@@ -1184,8 +1184,7 @@ void nsWindow::EndDraw()
return;
mDrawing = PR_FALSE;
PRBool clipEmpty;
mTempRenderingContext->PopState(clipEmpty);
mTempRenderingContext->PopState();
NS_RELEASE(mTempRenderingContext);