Bug 1088760 - Remove nsRenderingContext, replacing all of its uses with gfxContext. r=jwatt,jrmuizel

MozReview-Commit-ID: K1WUIOnvazF
This commit is contained in:
Alexis Beingessner
2017-06-09 15:14:53 -04:00
committed by Jeff Muizelaar
parent 89b1d30556
commit 3117218f13
182 changed files with 919 additions and 1020 deletions

View File

@@ -28,7 +28,7 @@ FixedTableLayoutStrategy::~FixedTableLayoutStrategy()
}
/* virtual */ nscoord
FixedTableLayoutStrategy::GetMinISize(nsRenderingContext* aRenderingContext)
FixedTableLayoutStrategy::GetMinISize(gfxContext* aRenderingContext)
{
DISPLAY_MIN_WIDTH(mTableFrame, mMinISize);
if (mMinISize != NS_INTRINSIC_WIDTH_UNKNOWN) {
@@ -118,7 +118,7 @@ FixedTableLayoutStrategy::GetMinISize(nsRenderingContext* aRenderingContext)
}
/* virtual */ nscoord
FixedTableLayoutStrategy::GetPrefISize(nsRenderingContext* aRenderingContext,
FixedTableLayoutStrategy::GetPrefISize(gfxContext* aRenderingContext,
bool aComputingSize)
{
// It's theoretically possible to do something much better here that