mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1216506. Properly initialize min inset box shadow color to black. r=mstange
This commit is contained in:
parent
f19adfb8e4
commit
d8ac6a8660
@ -952,7 +952,8 @@ gfxAlphaBoxBlur::GetInsetBlur(IntMargin& aExtendDestBy,
|
||||
ToRect(innerRect), aHasBorderRadius,
|
||||
aInnerClipRadii);
|
||||
|
||||
minGfxContext->SetColor(aShadowColor);
|
||||
Color black(0.f, 0.f, 0.f, 1.f);
|
||||
minGfxContext->SetColor(black);
|
||||
minGfxContext->SetPath(maskPath);
|
||||
minGfxContext->Fill();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user