diff --git a/gfx/thebes/gfxBlur.cpp b/gfx/thebes/gfxBlur.cpp index c5417f19c714..440f2c9951e1 100644 --- a/gfx/thebes/gfxBlur.cpp +++ b/gfx/thebes/gfxBlur.cpp @@ -439,12 +439,6 @@ CreateBoxShadow(DrawTarget& aDT, SourceSurface* aBlurMask, const gfxRGBA& aShado return nullptr; } - if (boxShadowDT->GetType() != aDT.GetType()) { - printf_stderr("Box shadow type: %d, dest draw target type: %d\n", - (int) boxShadowDT->GetType(), (int) aDT.GetType()); - MOZ_ASSERT(false, "Box shadows are incorrect type\n"); - } - ColorPattern shadowColor(ToDeviceColor(aShadowColor)); boxShadowDT->MaskSurface(shadowColor, aBlurMask, Point(0, 0)); return boxShadowDT->Snapshot();