diff --git a/layout/base/nsCSSRendering.cpp b/layout/base/nsCSSRendering.cpp index dac29474460..42d57a93bae 100644 --- a/layout/base/nsCSSRendering.cpp +++ b/layout/base/nsCSSRendering.cpp @@ -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 } diff --git a/layout/html/style/src/nsCSSRendering.cpp b/layout/html/style/src/nsCSSRendering.cpp index dac29474460..42d57a93bae 100644 --- a/layout/html/style/src/nsCSSRendering.cpp +++ b/layout/html/style/src/nsCSSRendering.cpp @@ -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 } diff --git a/layout/svg/renderer/src/libart/nsSVGLibartBitmapGdk.cpp b/layout/svg/renderer/src/libart/nsSVGLibartBitmapGdk.cpp index b9211296749..4e62d5dfb5b 100644 --- a/layout/svg/renderer/src/libart/nsSVGLibartBitmapGdk.cpp +++ b/layout/svg/renderer/src/libart/nsSVGLibartBitmapGdk.cpp @@ -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; diff --git a/widget/src/cocoa/nsChildView.mm b/widget/src/cocoa/nsChildView.mm index 9ecfccab5c2..496efc28f2d 100644 --- a/widget/src/cocoa/nsChildView.mm +++ b/widget/src/cocoa/nsChildView.mm @@ -1476,10 +1476,7 @@ void nsChildView::EndDraw() mDrawing = PR_FALSE; if (mTempRenderingContextMadeHere) - { - PRBool clipEmpty; - mTempRenderingContext->PopState(clipEmpty); - } + mTempRenderingContext->PopState(); NS_RELEASE(mTempRenderingContext); } diff --git a/widget/src/mac/nsWindow.cpp b/widget/src/mac/nsWindow.cpp index ce6a33c4815..4fc3cbe83fb 100644 --- a/widget/src/mac/nsWindow.cpp +++ b/widget/src/mac/nsWindow.cpp @@ -1184,8 +1184,7 @@ void nsWindow::EndDraw() return; mDrawing = PR_FALSE; - PRBool clipEmpty; - mTempRenderingContext->PopState(clipEmpty); + mTempRenderingContext->PopState(); NS_RELEASE(mTempRenderingContext);