Closed
Bug 1742006
Opened 3 years ago
Closed 3 years ago
Minor clean up of Union methods in Rect types
Categories
(Core :: Graphics, task)
Core
Graphics
Tracking
()
RESOLVED
FIXED
96 Branch
Tracking | Status | |
---|---|---|
firefox96 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
Details
Attachments
(2 files)
Please see the commit message of the upcoming patches.
Assignee | ||
Comment 1•3 years ago
|
||
nsRect's Union ond UnionEdges are already saturating operations, so we don't
need these two methods.
Assignee | ||
Comment 2•3 years ago
|
||
The documents of Union and SaturatingUnion promise that |this| will be return
when both rects are empty, but the current implementation returns aRect instead.
This patch fixes the documents and added a test case.
Depends on D131567
Pushed by aethanyc@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/89a712ca5342
Remove two unused nsRect union methods. r=gfx-reviewers,sotaro
https://hg.mozilla.org/integration/autoland/rev/b9329e4be718
Fix documents of rect types' Union and SaturatingUnion, and add a test. r=gfx-reviewers,mstange
Comment 4•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/89a712ca5342
https://hg.mozilla.org/mozilla-central/rev/b9329e4be718
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox96:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•