Closed
Bug 1269175
Opened 9 years ago
Closed 9 years ago
Convert nsStyleSVG::mStrokeDasharray to be nsTArray
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
References
Details
Attachments
(1 file)
File per bug 1267524 comment 25. We should convert nsStyleSVG::mStrokeDasharray to be a nsTArray so that we don't need to worry about memory management.
[1] https://dxr.mozilla.org/mozilla-central/rev/1461a4071341c282afcf7b72e33036412d2251d4/layout/style/nsStyleStruct.h#3287
Assignee | ||
Comment 1•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/55358/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/55358/
Assignee | ||
Updated•9 years ago
|
Attachment #8756719 -
Flags: review?(cam)
Assignee | ||
Comment 2•9 years ago
|
||
https://reviewboard.mozilla.org/r/55358/#review52112
::: layout/style/nsRuleNode.cpp
(Diff revision 1)
> case eCSSUnit_Inherit:
> case eCSSUnit_Unset:
> conditions.SetUncacheable();
> svg->mStrokeDasharrayFromObject = parentSVG->mStrokeDasharrayFromObject;
> - // only do the copy if weren't already set up by the copy constructor
> + svg->mStrokeDasharray = parentSVG->mStrokeDasharray;
> - // FIXME Bug 389408: This is broken when aStartStruct is non-null!
I guess bug 389408 is also fixed by this patch then.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → tlin
Status: NEW → ASSIGNED
Comment 3•9 years ago
|
||
Comment on attachment 8756719 [details]
MozReview Request: Bug 1269175 - Convert nsStyleSVG::mStrokeDasharray to be nsTArray.
https://reviewboard.mozilla.org/r/55358/#review52770
Looks great, thanks!
Attachment #8756719 -
Flags: review?(cam) → review+
Comment 5•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in
before you can comment on or make changes to this bug.
Description
•