Closed
Bug 1204535
Opened 9 years ago
Closed 9 years ago
Refactor computation of mShouldBuildScrollableLayer
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla43
Tracking | Status | |
---|---|---|
firefox43 | --- | fixed |
People
(Reporter: kats, Assigned: kats)
References
Details
Attachments
(6 files)
1.45 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
2.75 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
2.12 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
8.09 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
1.86 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
2.82 KB,
patch
|
tnikkel
:
review+
|
Details | Diff | Splinter Review |
While looking at how to fix bug 1195431 I noticed that the code to compute mShouldBuildScrollableLayer is very convoluted. There's a number of other cleanups that can be done around that code as well, so I'm filing this bug for it.
Assignee | ||
Comment 1•9 years ago
|
||
green try |
My WIPs are the top few commits at https://github.com/staktrace/gecko-dev/commits/refactor
Assignee | ||
Comment 2•9 years ago
|
||
Well the refactoring didn't end up quite where I wanted but there's some patches which I think are good to land. Try push for them is at https://treeherder.mozilla.org/#/jobs?repo=try&revision=df1a8fe4247c
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8661177 -
Flags: review?(tnikkel)
Assignee | ||
Comment 4•9 years ago
|
||
This makes the refactoring in part 3 more obvious.
Attachment #8661178 -
Flags: review?(tnikkel)
Assignee | ||
Comment 5•9 years ago
|
||
Attachment #8661179 -
Flags: review?(tnikkel)
Assignee | ||
Comment 6•9 years ago
|
||
At whistler we did a grep and found more usages of "displayPort" than "displayport" and decided to move towards that. This function has both usingDisplayport and usingDisplayPort which could get confusing, so using the same name is a good idea.
Attachment #8661180 -
Flags: review?(tnikkel)
Assignee | ||
Comment 7•9 years ago
|
||
Attachment #8661181 -
Flags: review?(tnikkel)
Assignee | ||
Comment 8•9 years ago
|
||
Attachment #8661182 -
Flags: review?(tnikkel)
Updated•9 years ago
|
Attachment #8661177 -
Flags: review?(tnikkel) → review+
Updated•9 years ago
|
Attachment #8661178 -
Flags: review?(tnikkel) → review+
Updated•9 years ago
|
Attachment #8661179 -
Flags: review?(tnikkel) → review+
Updated•9 years ago
|
Attachment #8661180 -
Flags: review?(tnikkel) → review+
Updated•9 years ago
|
Attachment #8661181 -
Flags: review?(tnikkel) → review+
Updated•9 years ago
|
Attachment #8661182 -
Flags: review?(tnikkel) → review+
Comment 9•9 years ago
|
||
Thanks. I had patches to do most of this as part of an even larger refactor (that didn't get finished).
Assignee | ||
Comment 10•9 years ago
|
||
Thanks for the speedy reviews! I hope these patches don't cause you too much rebase pain on the rest of the refactoring you had.
Comment 11•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/9d08ea4e6be9
https://hg.mozilla.org/integration/mozilla-inbound/rev/03c1c7c1e144
https://hg.mozilla.org/integration/mozilla-inbound/rev/c12eaa3668ea
https://hg.mozilla.org/integration/mozilla-inbound/rev/c60510f350b1
https://hg.mozilla.org/integration/mozilla-inbound/rev/f0f0bf01b3a8
https://hg.mozilla.org/integration/mozilla-inbound/rev/8d05eefc5da2
https://hg.mozilla.org/mozilla-central/rev/9d08ea4e6be9
https://hg.mozilla.org/mozilla-central/rev/03c1c7c1e144
https://hg.mozilla.org/mozilla-central/rev/c12eaa3668ea
https://hg.mozilla.org/mozilla-central/rev/c60510f350b1
https://hg.mozilla.org/mozilla-central/rev/f0f0bf01b3a8
https://hg.mozilla.org/mozilla-central/rev/8d05eefc5da2
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in
before you can comment on or make changes to this bug.
Description
•