Closed
Bug 1605687
Opened 5 years ago
Closed 5 years ago
nsFilterInstance.cpp: Value stored to 'filterIsNoop' is never read
Categories
(Core :: SVG, defect, P3)
Core
SVG
Tracking
()
RESOLVED
FIXED
mozilla74
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: nical)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
According to:
http://sylvestre.ledru.info/reports/fx-scan-build/report-nsFilterInstance.cpp-BuildWebRenderFilters-86-1.html#EndPath
filterIsNoop = true;
is useless because of the continue;
Maybe this line should be removed or it shows an issue with the code.
Nical, wdyt?
Flags: needinfo?(nical.bugzilla)
Assignee | ||
Comment 1•5 years ago
|
||
I think that we should not continue
there and instead skip pushing the filter so that we benefit from the no-op cleanup at the end of the loop and avoid unnecessary color-space conversions in some cases. I'll fix that after bug 1606742 lands to avoid bitrotting Connor's patch.
Assignee: nobody → nical.bugzilla
Flags: needinfo?(nical.bugzilla)
Assignee | ||
Comment 2•5 years ago
|
||
The noop path lets us detect some unnecessary color space conversion passes.
Comment 3•5 years ago
|
||
The priority flag is not set for this bug.
:heycam, could you have a look please?
For more information, please visit auto_nag documentation.
Flags: needinfo?(cam)
Reporter | ||
Updated•5 years ago
|
Flags: needinfo?(cam)
Priority: -- → P3
Pushed by nsilva@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c8af363b4a12
Don't skip the filter noop path when running into invalid color matrices. r=cbrewster
Comment 5•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox74:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in
before you can comment on or make changes to this bug.
Description
•