From 1f540003bdb05508eb8be46bad36ad6aa4400be2 Mon Sep 17 00:00:00 2001 From: "tor%cs.brown.edu" Date: Fri, 23 Apr 2004 16:13:26 +0000 Subject: [PATCH] Bug 240274 - remove unused argument of SetClip{Rect,Region}. r=blizzard, sr=bryner git-svn-id: svn://10.0.0.236/trunk@155395 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/nsCSSRendering.cpp | 4 +--- mozilla/layout/html/style/src/nsCSSRendering.cpp | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/mozilla/layout/base/nsCSSRendering.cpp b/mozilla/layout/base/nsCSSRendering.cpp index 9874b0144b8..7f2cb5aa1f5 100644 --- a/mozilla/layout/base/nsCSSRendering.cpp +++ b/mozilla/layout/base/nsCSSRendering.cpp @@ -3084,10 +3084,8 @@ nsCSSRendering::PaintBackgroundWithSC(nsIPresContext* aPresContext, #if (!defined(XP_UNIX) && !defined(XP_BEOS)) || defined(XP_MACOSX) // Setup clipping so that rendering doesn't leak out of the computed // dirty rect - PRBool clipState; aRenderingContext.PushState(); - aRenderingContext.SetClipRect(dirtyRect, nsClipCombine_kIntersect, - clipState); + aRenderingContext.SetClipRect(dirtyRect, nsClipCombine_kIntersect); #endif // Compute the x and y starting points and limits for tiling diff --git a/mozilla/layout/html/style/src/nsCSSRendering.cpp b/mozilla/layout/html/style/src/nsCSSRendering.cpp index 9874b0144b8..7f2cb5aa1f5 100644 --- a/mozilla/layout/html/style/src/nsCSSRendering.cpp +++ b/mozilla/layout/html/style/src/nsCSSRendering.cpp @@ -3084,10 +3084,8 @@ nsCSSRendering::PaintBackgroundWithSC(nsIPresContext* aPresContext, #if (!defined(XP_UNIX) && !defined(XP_BEOS)) || defined(XP_MACOSX) // Setup clipping so that rendering doesn't leak out of the computed // dirty rect - PRBool clipState; aRenderingContext.PushState(); - aRenderingContext.SetClipRect(dirtyRect, nsClipCombine_kIntersect, - clipState); + aRenderingContext.SetClipRect(dirtyRect, nsClipCombine_kIntersect); #endif // Compute the x and y starting points and limits for tiling