From ac07320328c7201d5135f9bc59bb79156e5dbde3 Mon Sep 17 00:00:00 2001 From: "harishd%netscape.com" Date: Fri, 22 Jan 1999 22:25:00 +0000 Subject: [PATCH] Passing stylecontext into Paintborder() git-svn-id: svn://10.0.0.236/trunk@18352 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/generic/nsBlockFrame.cpp | 2 +- mozilla/layout/generic/nsBlockReflowState.cpp | 2 +- mozilla/layout/generic/nsBlockReflowState.h | 2 +- mozilla/layout/html/base/src/nsBlockFrame.cpp | 2 +- mozilla/layout/html/base/src/nsBlockReflowState.cpp | 2 +- mozilla/layout/html/base/src/nsBlockReflowState.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mozilla/layout/generic/nsBlockFrame.cpp b/mozilla/layout/generic/nsBlockFrame.cpp index 3761f32401c..39d6c4f743e 100644 --- a/mozilla/layout/generic/nsBlockFrame.cpp +++ b/mozilla/layout/generic/nsBlockFrame.cpp @@ -3975,7 +3975,7 @@ nsBaseIBFrame::Paint(nsIPresContext& aPresContext, nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, this, aDirtyRect, rect, *color, *spacing, 0, 0); nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, this, - aDirtyRect, rect, *spacing, skipSides); + aDirtyRect, rect, *spacing, mStyleContext, skipSides); } // If overflow is hidden then set the clip rect so that children diff --git a/mozilla/layout/generic/nsBlockReflowState.cpp b/mozilla/layout/generic/nsBlockReflowState.cpp index 3761f32401c..39d6c4f743e 100644 --- a/mozilla/layout/generic/nsBlockReflowState.cpp +++ b/mozilla/layout/generic/nsBlockReflowState.cpp @@ -3975,7 +3975,7 @@ nsBaseIBFrame::Paint(nsIPresContext& aPresContext, nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, this, aDirtyRect, rect, *color, *spacing, 0, 0); nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, this, - aDirtyRect, rect, *spacing, skipSides); + aDirtyRect, rect, *spacing, mStyleContext, skipSides); } // If overflow is hidden then set the clip rect so that children diff --git a/mozilla/layout/generic/nsBlockReflowState.h b/mozilla/layout/generic/nsBlockReflowState.h index 3761f32401c..39d6c4f743e 100644 --- a/mozilla/layout/generic/nsBlockReflowState.h +++ b/mozilla/layout/generic/nsBlockReflowState.h @@ -3975,7 +3975,7 @@ nsBaseIBFrame::Paint(nsIPresContext& aPresContext, nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, this, aDirtyRect, rect, *color, *spacing, 0, 0); nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, this, - aDirtyRect, rect, *spacing, skipSides); + aDirtyRect, rect, *spacing, mStyleContext, skipSides); } // If overflow is hidden then set the clip rect so that children diff --git a/mozilla/layout/html/base/src/nsBlockFrame.cpp b/mozilla/layout/html/base/src/nsBlockFrame.cpp index 3761f32401c..39d6c4f743e 100644 --- a/mozilla/layout/html/base/src/nsBlockFrame.cpp +++ b/mozilla/layout/html/base/src/nsBlockFrame.cpp @@ -3975,7 +3975,7 @@ nsBaseIBFrame::Paint(nsIPresContext& aPresContext, nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, this, aDirtyRect, rect, *color, *spacing, 0, 0); nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, this, - aDirtyRect, rect, *spacing, skipSides); + aDirtyRect, rect, *spacing, mStyleContext, skipSides); } // If overflow is hidden then set the clip rect so that children diff --git a/mozilla/layout/html/base/src/nsBlockReflowState.cpp b/mozilla/layout/html/base/src/nsBlockReflowState.cpp index 3761f32401c..39d6c4f743e 100644 --- a/mozilla/layout/html/base/src/nsBlockReflowState.cpp +++ b/mozilla/layout/html/base/src/nsBlockReflowState.cpp @@ -3975,7 +3975,7 @@ nsBaseIBFrame::Paint(nsIPresContext& aPresContext, nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, this, aDirtyRect, rect, *color, *spacing, 0, 0); nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, this, - aDirtyRect, rect, *spacing, skipSides); + aDirtyRect, rect, *spacing, mStyleContext, skipSides); } // If overflow is hidden then set the clip rect so that children diff --git a/mozilla/layout/html/base/src/nsBlockReflowState.h b/mozilla/layout/html/base/src/nsBlockReflowState.h index 3761f32401c..39d6c4f743e 100644 --- a/mozilla/layout/html/base/src/nsBlockReflowState.h +++ b/mozilla/layout/html/base/src/nsBlockReflowState.h @@ -3975,7 +3975,7 @@ nsBaseIBFrame::Paint(nsIPresContext& aPresContext, nsCSSRendering::PaintBackground(aPresContext, aRenderingContext, this, aDirtyRect, rect, *color, *spacing, 0, 0); nsCSSRendering::PaintBorder(aPresContext, aRenderingContext, this, - aDirtyRect, rect, *spacing, skipSides); + aDirtyRect, rect, *spacing, mStyleContext, skipSides); } // If overflow is hidden then set the clip rect so that children