From 9d362123c0ce32767f7d975f4d3e618614be51be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20=C3=81vila=20de=20Esp=C3=ADndola?= Date: Wed, 15 Feb 2012 07:29:20 -0500 Subject: [PATCH] Bug 727212 - Remove dead code. r=jwatt. --- layout/svg/base/src/nsSVGForeignObjectFrame.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/layout/svg/base/src/nsSVGForeignObjectFrame.cpp b/layout/svg/base/src/nsSVGForeignObjectFrame.cpp index 67de74f79db..35169c61fbc 100644 --- a/layout/svg/base/src/nsSVGForeignObjectFrame.cpp +++ b/layout/svg/base/src/nsSVGForeignObjectFrame.cpp @@ -271,12 +271,6 @@ nsSVGForeignObjectFrame::PaintSVG(nsSVGRenderState *aContext, 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; if (aContext->IsPaintingToWindow()) { flags |= nsLayoutUtils::PAINT_TO_WINDOW;