mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 22:05:44 +00:00
Bug 773595 - Have nsSVGPatternFrame::GetPatternMatrix use the correct attribute. r=longsonr.
--HG-- extra : rebase_source : b261c4e5cda1971ea6877790d97d056e05361373
This commit is contained in:
parent
4b2601630f
commit
48cab57f94
@ -606,7 +606,7 @@ nsSVGPatternFrame::GetPatternMatrix(const gfxMatrix &patternTransform,
|
||||
gfxFloat minx = bbox.X();
|
||||
gfxFloat miny = bbox.Y();
|
||||
|
||||
PRUint16 type = GetEnumValue(nsSVGPatternElement::PATTERNCONTENTUNITS);
|
||||
PRUint16 type = GetEnumValue(nsSVGPatternElement::PATTERNUNITS);
|
||||
if (type == nsIDOMSVGUnitTypes::SVG_UNIT_TYPE_OBJECTBOUNDINGBOX) {
|
||||
minx += callerBBox.X();
|
||||
miny += callerBBox.Y();
|
||||
|
Loading…
Reference in New Issue
Block a user