Closed Bug 1065718 Opened 5 years ago Closed 5 years ago

Make gfxMatrix's Translate(), Scale() and Rotate() methods return a non-const reference

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla35

People

(Reporter: jwatt, Assigned: jwatt)

Details

Attachments

(1 file)

gfxMatrix's Translate(), Scale() and Rotate() methods are not comparable to Moz2D's Matrix's since the gfxMatrix variants return const-ref. That means that they can't be chained together which is annoying.
Attached patch patchSplinter Review
Attachment #8487557 - Flags: review?(bas)
Attachment #8487557 - Flags: review?(bas) → review+
Attachment #8487557 - Flags: checkin+
https://hg.mozilla.org/mozilla-central/rev/5e674ddb6bf8
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in before you can comment on or make changes to this bug.