From 13073bfcd50208d8c5f5da47c3beecce1ca1ded1 Mon Sep 17 00:00:00 2001 From: "longsonr%gmail.com" Date: Tue, 6 Jun 2006 07:50:11 +0000 Subject: [PATCH] Bug 339952 - Pattern content is not transformed by viewBox coordinates correctly with patternContentUnits of objectBoundingBox. r=tor,sr=roc git-svn-id: svn://10.0.0.236/trunk@199093 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/svg/base/src/nsSVGPatternFrame.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mozilla/layout/svg/base/src/nsSVGPatternFrame.cpp b/mozilla/layout/svg/base/src/nsSVGPatternFrame.cpp index 3157b6ceea0..26e3e4fa4ed 100644 --- a/mozilla/layout/svg/base/src/nsSVGPatternFrame.cpp +++ b/mozilla/layout/svg/base/src/nsSVGPatternFrame.cpp @@ -664,12 +664,9 @@ nsSVGPatternFrame::ConstructCTM(nsIDOMSVGMatrix **aCTM, } else { // No viewBox, construct from the (modified) parent matrix - NS_NewSVGMatrix(getter_AddRefs(tempTM), - 1.0f, 0.0f, - 0.0f, 1.0f, - 0.0f, 0.0f); + NS_NewSVGMatrix(getter_AddRefs(tempTM)); } - tempTM->Multiply(tCTM, aCTM); + tCTM->Multiply(tempTM, aCTM); return NS_OK; }