Backed out changeset 1afe81135def (bug 1181028) for android build bustage CLOSED TREE

This commit is contained in:
Wes Kocher 2015-07-07 12:23:33 -07:00
parent 507071473d
commit 153e033882

View File

@ -439,11 +439,7 @@ CreateBoxShadow(DrawTarget& aDT, SourceSurface* aBlurMask, const gfxRGBA& aShado
return nullptr;
}
if (boxShadowDT->GetType() != aDT.GetType()) {
printf_stderr("Box shadow type: %hhdi, dest draw target type: %hhdi\n",
boxShadowDT->GetType(), aDT.GetType());
MOZ_ASSERT(false, "Box shadows are incorrect type\n");
}
MOZ_ASSERT(boxShadowDT->GetType() == aDT.GetType());
ColorPattern shadowColor(ToDeviceColor(aShadowColor));
boxShadowDT->MaskSurface(shadowColor, aBlurMask, Point(0, 0));