Closed
Bug 1383634
Opened 7 years ago
Closed 7 years ago
stylo: Kill a few uses of GetParentAllowServo.
Categories
(Core :: CSS Parsing and Computation, enhancement)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(2 files)
These are the easy ones.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8889317 [details]
Bug 1383634: Remove usage of GetParentAllowServo in nsRuleNode.
https://reviewboard.mozilla.org/r/160386/#review165632
Attachment #8889317 -
Flags: review?(xidorn+moz) → review+
Updated•7 years ago
|
Attachment #8889318 -
Flags: review?(xidorn+moz) → review?(karlt)
Comment 4•7 years ago
|
||
Not familiar with MathML... cannot tell why mStyleContext->GetParent() is equal to aForFrame->StyleContext(), so redirect to :karlt who is a peer of MathML.
Assignee | ||
Comment 5•7 years ago
|
||
Xidorn does https://treeherder.mozilla.org/#/jobs?repo=try&revision=bec2e1885e317201e0495e479917c8a93c84896d convince you? (see the last commit).
Flags: needinfo?(xidorn+moz)
Assignee | ||
Comment 6•7 years ago
|
||
Oh, sorry, misread as "I cannot tell if mStyleContext->GetParent() is...", instead of _why_.
If why, it's because all the callers of ResolveMathMLCharStyle pass mStyleContext to the function:
http://searchfox.org/mozilla-central/search?q=symbol:_ZN13nsMathMLFrame22ResolveMathMLCharStyleEP13nsPresContextP10nsIContentP14nsStyleContextP12nsMathMLChar&redirect=false
Comment 7•7 years ago
|
||
Hmmmm, ok, so other callsites of nsMathMLChar::SetStyleContext are all from SetAdditionalStyleContext, which is supposed to just refresh the existing style context.
Flags: needinfo?(xidorn+moz)
Updated•7 years ago
|
Attachment #8889318 -
Flags: review?(karlt) → review?(xidorn+moz)
Comment 8•7 years ago
|
||
mozreview-review |
Comment on attachment 8889318 [details]
Bug 1383634: Remove usage of GetParentAllowServo in mathml code.
https://reviewboard.mozilla.org/r/160388/#review165976
Attachment #8889318 -
Flags: review?(xidorn+moz) → review+
Pushed by ecoal95@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/0616e8c5f57e
Remove usage of GetParentAllowServo in nsRuleNode. r=xidorn
https://hg.mozilla.org/integration/autoland/rev/6765c694080c
Remove usage of GetParentAllowServo in mathml code. r=xidorn
Comment 10•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0616e8c5f57e
https://hg.mozilla.org/mozilla-central/rev/6765c694080c
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in
before you can comment on or make changes to this bug.
Description
•