mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
3aa7ac9b4f
commit
a663dcd42b
@ -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*
|
||||
|
@ -893,7 +893,7 @@ public:
|
||||
const gfxRect& aSkipRect);
|
||||
|
||||
protected:
|
||||
gfxAlphaBoxBlur blur;
|
||||
gfxAlphaBoxBlur mAlphaBoxBlur;
|
||||
nsRefPtr<gfxContext> mContext;
|
||||
gfxContext* mDestinationCtx;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user