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:
@@ -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
|
||||
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -1476,10 +1476,7 @@ void nsChildView::EndDraw()
|
||||
mDrawing = PR_FALSE;
|
||||
|
||||
if (mTempRenderingContextMadeHere)
|
||||
{
|
||||
PRBool clipEmpty;
|
||||
mTempRenderingContext->PopState(clipEmpty);
|
||||
}
|
||||
mTempRenderingContext->PopState();
|
||||
NS_RELEASE(mTempRenderingContext);
|
||||
}
|
||||
|
||||
|
||||
@@ -1184,8 +1184,7 @@ void nsWindow::EndDraw()
|
||||
return;
|
||||
mDrawing = PR_FALSE;
|
||||
|
||||
PRBool clipEmpty;
|
||||
mTempRenderingContext->PopState(clipEmpty);
|
||||
mTempRenderingContext->PopState();
|
||||
|
||||
NS_RELEASE(mTempRenderingContext);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user