Closed
Bug 786412
Opened 12 years ago
Closed 11 years ago
Consolidate ContainerLayer functions
Categories
(Core :: Graphics: Layers, defect)
Core
Graphics: Layers
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: cwiiis, Assigned: nrc)
Details
Attachments
(1 file, 1 obsolete file)
74.36 KB,
patch
|
mattwoodrow
:
review+
|
Details | Diff | Splinter Review |
The code in the different implementations of ContainerLayer for InsertAfter and RemoveChild is actually identical (or at least, it will be after bug 785333) - we should consolidate this instead of copy-pasting.
Reporter | ||
Comment 1•12 years ago
|
||
Try looks good and it's a nice reduction. I wonder if we can do anything with ComputeEffectiveTransform?
Attachment #662136 -
Flags: review?(bas.schouten)
Reporter | ||
Comment 2•12 years ago
|
||
I guess this may be obsoleted by nrc's shadow layers work? Will hold off on doing anything else - just a note to self, is it ok that BasicShadowableRefLayer uses ContainerComputeEffectiveTransforms instead of DefaultComputeEffectiveTransforms(?)
Comment 3•12 years ago
|
||
Comment on attachment 662136 [details] [diff] [review] Move child add/remove functions to ContainerLayer Review of attachment 662136 [details] [diff] [review]: ----------------------------------------------------------------- This patch is obsoleted I think because of Nick's work, although it's certainly a good idea in general.
Attachment #662136 -
Flags: review?(bas)
Assignee | ||
Comment 4•12 years ago
|
||
We should totally do this after the refactoring lands, I do something similar, so it should be easier then too.
Reporter | ||
Comment 5•11 years ago
|
||
Nick, can this bug be closed, or can I assign it to you?
Flags: needinfo?(ncameron)
Assignee | ||
Comment 6•11 years ago
|
||
assign it to me is fine, I'll check how this tands in the refactoring and apply your patch if we can.
Flags: needinfo?(ncameron)
Assignee | ||
Comment 8•11 years ago
|
||
So, I think I'll leave this until after the refactoring lands. I'm pretty sure it will still work, but it will be a little bit of effort to adjust for composite container layers.
Assignee | ||
Comment 9•11 years ago
|
||
Attachment #662136 -
Attachment is obsolete: true
Attachment #796473 -
Flags: review?(matt.woodrow)
Assignee | ||
Comment 10•11 years ago
|
||
(In reply to Nick Cameron [:nrc] from comment #8) > So, I think I'll leave this until after the refactoring lands. I'm pretty > sure it will still work, but it will be a little bit of effort to adjust for > composite container layers. Finally got to this. Removed quite a satisfying amount of copy pasta.
Comment 11•11 years ago
|
||
Comment on attachment 796473 [details] [diff] [review] Sort out container layer methods Review of attachment 796473 [details] [diff] [review]: ----------------------------------------------------------------- rs=me assuming it passes tests :)
Attachment #796473 -
Flags: review?(matt.woodrow) → review+
Assignee | ||
Comment 12•11 years ago
|
||
Try looks good: https://tbpl.mozilla.org/?tree=Try&rev=9b638460e95a
Assignee | ||
Comment 13•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/45668135bbf4
Comment 14•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/45668135bbf4
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•