Bug 1216506. Properly initialize min inset box shadow color to black. r=mstange

This commit is contained in:
Mason Chang 2015-11-02 13:30:03 -08:00
parent f19adfb8e4
commit d8ac6a8660

View File

@ -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();