Closed
Bug 1334358
Opened 8 years ago
Closed 8 years ago
Remove nsCSSFrameConstructor::CreateAnonymousFrames
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla54
Tracking | Status | |
---|---|---|
firefox54 | --- | fixed |
People
(Reporter: bholley, Assigned: bholley)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
11.05 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
6.49 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
Followup refactoring suggested in bug 1334247. The goal here is to send more things through AddFCItemsForAnonymousContent, since that's what we're going to hook with our style context resolution behavior in bug 1331322.
Assignee | ||
Comment 1•8 years ago
|
||
Here's a try push for the first part: https://treeherder.mozilla.org/#/jobs?repo=try&revision=1270d68bcc9e93ba19dd64e6df58df6c6aa39f63
Assignee | ||
Comment 2•8 years ago
|
||
Assignee | ||
Comment 3•8 years ago
|
||
Attachment #8831010 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 4•8 years ago
|
||
Attachment #8831011 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 5•8 years ago
|
||
(In reply to Bobby Holley (:bholley) (busy with Stylo) from comment #2)
> And here's the rest:
> https://treeherder.mozilla.org/#/
> jobs?repo=try&revision=71bdd8be07b1ed04a2672dd9378826e4d8b85287
Looks green.
Comment 6•8 years ago
|
||
Comment on attachment 8831010 [details] [diff] [review]
Part 1 - Stop using CreateAnonymousFrames for combo box creation. v1
>+ AutoTArray<nsIAnonymousContentCreator::ContentInfo, 1> newAnonymousItems;
s/1/2/, right? Because we expect it to produce two things...
r=me
Attachment #8831010 -
Flags: review?(bzbarsky) → review+
Comment 7•8 years ago
|
||
Comment on attachment 8831011 [details] [diff] [review]
Part 2 - Stop using CreateAnonymousFrames for scroll frame construction and remove the now-unused helper. v1
r=me
Attachment #8831011 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 8•8 years ago
|
||
(In reply to Boris Zbarsky [:bz] (still a bit busy) from comment #6)
> Comment on attachment 8831010 [details] [diff] [review]
> Part 1 - Stop using CreateAnonymousFrames for combo box creation. v1
>
> >+ AutoTArray<nsIAnonymousContentCreator::ContentInfo, 1> newAnonymousItems;
>
> s/1/2/, right? Because we expect it to produce two things...
Good catch! That was a holdover from a previous version of the patch where I altered CreateAnonymousContent to not return that item, instead of manually removing it at the caller.
Pushed by bholley@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/f1a21a22c12b
Stop using CreateAnonymousFrames for combo box creation. r=bz
https://hg.mozilla.org/integration/mozilla-inbound/rev/314707aa7875
Stop using CreateAnonymousFrames for scroll frame construction and remove the now-unused helper. r=bz
Comment 10•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f1a21a22c12b
https://hg.mozilla.org/mozilla-central/rev/314707aa7875
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox54:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in
before you can comment on or make changes to this bug.
Description
•