mochitest bustage fix from bug 392928.
git-svn-id: svn://10.0.0.236/trunk@233169 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -569,7 +569,9 @@ nsSVGOuterSVGFrame::GetCanvasTM()
|
||||
|
||||
// our content is the document element so we must premultiply the values
|
||||
// of its currentScale and currentTranslate properties
|
||||
if (svgElement->mEnumAttributes[nsSVGSVGElement::ZOOMANDPAN].GetAnimValue()
|
||||
if (mCurrentScale &&
|
||||
mCurrentTranslate &&
|
||||
svgElement->mEnumAttributes[nsSVGSVGElement::ZOOMANDPAN].GetAnimValue()
|
||||
== nsIDOMSVGZoomAndPan::SVG_ZOOMANDPAN_MAGNIFY) {
|
||||
nsCOMPtr<nsIDOMSVGMatrix> zoomPanMatrix;
|
||||
nsCOMPtr<nsIDOMSVGMatrix> temp;
|
||||
|
||||
Reference in New Issue
Block a user