Bug 879659 - Followup for unused variable error.

This commit is contained in:
Cameron McCormack 2013-07-12 17:11:30 +10:00
parent 0d3b60738e
commit 1a511bc0ff

View File

@ -46,8 +46,6 @@ SVGPolygonElement::GetMarkPoints(nsTArray<nsSVGMark> *aMarks)
nsSVGMark *endMark = &aMarks->LastElement();
nsSVGMark *startMark = &aMarks->ElementAt(0);
gfxFloat xmid = (startMark->x + endMark->x) / 2;
gfxFloat ymid = (startMark->y + endMark->y) / 2;
float angle = atan2(startMark->y - endMark->y, startMark->x - endMark->x);
endMark->angle = SVGContentUtils::AngleBisect(angle, endMark->angle);