mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 879659 - Followup for unused variable error.
This commit is contained in:
parent
0d3b60738e
commit
1a511bc0ff
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user