Closed
Bug 1305637
Opened 8 years ago
Closed 8 years ago
Remove aOpacity function parameter of nsSVGMaskFrame::GetMaskForMaskedFrame
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: u459114, Assigned: u459114)
References
Details
Attachments
(1 file)
After we fix both Bug 1304991 and Bug 1305636, there is no need to pass opacity to nsSVGMaskFrame::GetMaskForMaskedFrame. We can remove this parameter from nsSVGMaskFrame::GetMaskForMaskedFrame, ComputeLinearRGBLuminanceMask, ComputeAlphaMask, ComputesRGBLuminanceMask.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Attachment #8795263 -
Flags: review?(mstange)
Comment 5•8 years ago
|
||
mozreview-review |
Comment on attachment 8795263 [details] Bug 1305637 - Remove aOpacity function parameter of nsSVGMaskFrame::GetMaskForMaskedFrame. https://reviewboard.mozilla.org/r/81380/#review80014 ::: layout/svg/nsSVGMaskFrame.cpp:112 (Diff revision 2) > - int32_t redFactor = 55 * aOpacity; // 255 * 0.2125 * opacity > - int32_t greenFactor = 183 * aOpacity; // 255 * 0.7154 * opacity > + int32_t redFactor = 55; // 255 * 0.2125 * opacity > + int32_t greenFactor = 183; // 255 * 0.7154 * opacity Please remove " * opacity" from the comments.
Attachment #8795263 -
Flags: review?(mstange) → review+
Base on bug 1305636 comment 7, we don't need the patch here. Close it.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•