Backed out changeset 6a9a6e524a7b (bug 1314001) for Windows -werror bustage

MozReview-Commit-ID: Gzhx80yqTnG
This commit is contained in:
Phil Ringnalda 2016-12-28 22:00:49 -08:00
parent 50446c645c
commit 419cda6127

View File

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