author | Jonathan Watt <jwatt@jwatt.org> |
Fri, 13 Dec 2013 12:14:36 +0000 | |
changeset 160334 | 756ce0d34c9fb68331915ca6c2cfef22cdb3277b |
parent 160333 | 15e0c5ced15510aa8ef8695049d53cf44f6baee7 |
child 160335 | 53ddb97448dc4441ca668e857f5fdf6595ebb27b |
push id | 37562 |
push user | jwatt@jwatt.org |
push date | Fri, 13 Dec 2013 12:14:50 +0000 |
treeherder | mozilla-inbound@53ddb97448dc [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | Bas |
bugs | 944704 |
milestone | 29.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/content/canvas/src/CanvasRenderingContext2D.cpp +++ b/content/canvas/src/CanvasRenderingContext2D.cpp @@ -1885,17 +1885,17 @@ CanvasRenderingContext2D::Arc(double x, { if (r < 0.0) { error.Throw(NS_ERROR_DOM_INDEX_SIZE_ERR); return; } EnsureWritablePath(); - ArcToBezier(this, Point(x, y), r, startAngle, endAngle, anticlockwise); + ArcToBezier(this, Point(x, y), Size(r, r), startAngle, endAngle, anticlockwise); } void CanvasRenderingContext2D::Rect(double x, double y, double w, double h) { EnsureWritablePath(); if (mPathBuilder) {