mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
mochitest bustage fix from bug 392928.
This commit is contained in:
parent
db3bc91cfc
commit
d942c9036e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user