Bug 727212 - Remove dead code. r=jwatt.

This commit is contained in:
Rafael Ávila de Espíndola 2012-02-15 07:29:20 -05:00
parent 44d02d371c
commit 9d362123c0

View File

@ -271,12 +271,6 @@ nsSVGForeignObjectFrame::PaintSVG(nsSVGRenderState *aContext,
gfx->Multiply(matrixForChildren); gfx->Multiply(matrixForChildren);
// Transform the dirty rect into the rectangle containing the
// transformed dirty rect.
gfxMatrix invmatrix = matrix.Invert();
NS_ASSERTION(!invmatrix.IsSingular(),
"inverse of non-singular matrix should be non-singular");
PRUint32 flags = nsLayoutUtils::PAINT_IN_TRANSFORM; PRUint32 flags = nsLayoutUtils::PAINT_IN_TRANSFORM;
if (aContext->IsPaintingToWindow()) { if (aContext->IsPaintingToWindow()) {
flags |= nsLayoutUtils::PAINT_TO_WINDOW; flags |= nsLayoutUtils::PAINT_TO_WINDOW;