Closed
Bug 1767123
Opened 4 years ago
Closed 4 years ago
Change the return type of nsLayoutUtils::GetTransformToAncestorScale to MatrixScalesDouble
Categories
(Core :: Graphics, task, P3)
Core
Graphics
Tracking
()
RESOLVED
FIXED
102 Branch
| Tracking | Status | |
|---|---|---|
| firefox102 | --- | fixed |
People
(Reporter: botond, Assigned: rzvncj, Mentored)
References
Details
Attachments
(1 external file)
Defined here
| Assignee | ||
Comment 1•4 years ago
|
||
Changing that return type will lead to a conversion problem in nsLayoutUtils::GetTransformToAncestorScaleCrossProcessForFrameMetrics():
ParentLayerToScreenScale2D transformToAncestorScale(nsLayoutUtils::GetTransformToAncestorScale(aFrame));
specifically, ParentLayerToScreenScale2D uses float, and MatrixScalesDouble, as the name implies, uses double.
Do you want an explicit conversion from MatrixScalesDouble to ParentLayerToScreenScale2D, or do you want the return type of GetTransformToAncestorScaleCrossProcessForFrameMetrics() changed to something like ParentLayerToScreenScale2DDouble as well (will require a new using/typedef)?
| Assignee | ||
Comment 2•4 years ago
|
||
Actually, I'll just submit the simplest version of the patch and you can request changes there.
| Assignee | ||
Comment 3•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → rzvncj
Status: NEW → ASSIGNED
Pushed by bballo@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2654ffd335de
Change the return type of nsLayoutUtils::GetTransformToAncestorScale to MatrixScalesDouble. r=botond
Comment 5•4 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox102:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•