Closed Bug 796061 Opened 12 years ago Closed 11 years ago

Remove nsIContent hashtables from nsBindingManager.

Categories

(Core :: XBL, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla25

People

(Reporter: wchen, Assigned: wchen)

References

(Blocks 1 open bug)

Details

Attachments

(3 files, 3 obsolete files)

nsBindingManager has some hashtables that store XBL information about nsIContent. This information can be stored on the nsIContent and would naturally lead to a simpler API because you wouldn't need to obtain the binding manager for getting and setting the XBL attributes.
Attachment #666642 - Flags: review?(mrbkap)
Attachment #666643 - Flags: review?(mrbkap)
I'm worried that this is going to bitrot the patches in bug 653881 a bunch. Would it be worth trying to drive those into the tree instead?

Or is the idea to do so piece-wise and this is part of that?
(In reply to Jonas Sicking (:sicking) from comment #3)
> I'm worried that this is going to bitrot the patches in bug 653881 a bunch.
> Would it be worth trying to drive those into the tree instead?
> 
> Or is the idea to do so piece-wise and this is part of that?

I've based these patches on top of bug 653881 so I depend on the other patches going in the tree first.
Attachment #666642 - Flags: review?(mrbkap)
Attachment #666643 - Flags: review?(mrbkap)
Attachment #666642 - Attachment is obsolete: true
Attachment #764490 - Flags: review?(mrbkap)
Attachment #666643 - Attachment is obsolete: true
Attachment #764506 - Flags: review?(mrbkap)
Comment on attachment 764490 [details] [diff] [review]
Bug 796061 - Part 1: Remove mBindingTable from nsBindingManager.

Review of attachment 764490 [details] [diff] [review]:
-----------------------------------------------------------------

It seems like NODE_MAY_BE_IN_BINDING_MGR might be a prime target for collection after this patch.
Attachment #764490 - Flags: review?(mrbkap) → review+
Attachment #764506 - Flags: review?(mrbkap) → review+
Attachment #764490 - Attachment is obsolete: true
Attachment #776704 - Flags: review?(mrbkap)
Attachment #776704 - Flags: review?(mrbkap) → review+
https://hg.mozilla.org/mozilla-central/rev/5e3d564cd1b5
https://hg.mozilla.org/mozilla-central/rev/d810dcc0726f
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Depends on: 897386
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: