diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-10-15 07:13:55 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-10-15 07:13:55 -0600 |
commit | 5a0a91eba794af027723051c7f039cb22088aa65 (patch) | |
tree | 7b5a40eea5731c0906d7658a08a0dc782ac7da8d /components/script/dom/messageevent.rs | |
parent | f8ada66919c8fda836b8e33375e82c1ef9059999 (diff) | |
parent | da676309318a7069650ca2cd571de7fa9b9e516a (diff) | |
download | servo-5a0a91eba794af027723051c7f039cb22088aa65.tar.gz servo-5a0a91eba794af027723051c7f039cb22088aa65.zip |
Auto merge of #7972 - nox:codegen-heapsize, r=Ms2ger
Introduce DOMClass::heap_size_of
It holds a function pointer to the HeapSizeOf::heap_size_of_children()
implementation corresponding to that IDL interface.
This removes the need for a clumsly TypeId-based match expression in the
former heap_size_of_eventtarget() function.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7972)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/messageevent.rs')
0 files changed, 0 insertions, 0 deletions