Bug 1067977 - Rename nsContextBoxBlur's 'blur' member to make it possible to find and reason about the code. r=dholbert

This commit is contained in:
Jonathan Watt 2014-09-17 08:46:39 +01:00
parent 3aa7ac9b4f
commit a663dcd42b
2 changed files with 6 additions and 6 deletions

View File

@ -5014,11 +5014,11 @@ nsContextBoxBlur::Init(const nsRect& aRect, nscoord aSpreadRadius,
dirtyRect = transform.TransformBounds(dirtyRect);
if (aSkipRect) {
gfxRect skipRect = transform.TransformBounds(*aSkipRect);
mContext = blur.Init(rect, spreadRadius,
blurRadius, &dirtyRect, &skipRect);
mContext = mAlphaBoxBlur.Init(rect, spreadRadius,
blurRadius, &dirtyRect, &skipRect);
} else {
mContext = blur.Init(rect, spreadRadius,
blurRadius, &dirtyRect, nullptr);
mContext = mAlphaBoxBlur.Init(rect, spreadRadius,
blurRadius, &dirtyRect, nullptr);
}
if (mContext) {
@ -5041,7 +5041,7 @@ nsContextBoxBlur::DoPaint()
mDestinationCtx->SetMatrix(gfxMatrix());
}
blur.Paint(mDestinationCtx);
mAlphaBoxBlur.Paint(mDestinationCtx);
}
gfxContext*

View File

@ -893,7 +893,7 @@ public:
const gfxRect& aSkipRect);
protected:
gfxAlphaBoxBlur blur;
gfxAlphaBoxBlur mAlphaBoxBlur;
nsRefPtr<gfxContext> mContext;
gfxContext* mDestinationCtx;