mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
Backed out changeset 6a9a6e524a7b (bug 1314001) for Windows -werror bustage
MozReview-Commit-ID: Gzhx80yqTnG
This commit is contained in:
parent
50446c645c
commit
419cda6127
@ -1027,18 +1027,7 @@ nsSVGIntegrationUtils::PaintMaskAndClipPath(const PaintFramesParams& aParams)
|
||||
nsLayoutUtils::RectToGfxRect(aParams.borderArea,
|
||||
frame->PresContext()->AppUnitsPerDevPixel());
|
||||
context.Rectangle(drawingRect, true);
|
||||
Color color(0, 0, 0, 0.8);
|
||||
if (maskUsage.shouldGenerateMaskLayer ||
|
||||
maskUsage.shouldGenerateClipMaskLayer) {
|
||||
color.r = 1.0;
|
||||
}
|
||||
if (maskUsage.shouldApplyClipPath) {
|
||||
color.g = 1.0;
|
||||
}
|
||||
if (maskUsage.shouldApplyBasicShape) {
|
||||
color.b = 1.0;
|
||||
}
|
||||
context.SetColor(color);
|
||||
context.SetColor(Color(0.0, 1.0, 0.0, 1.0));
|
||||
context.Fill();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user