Bug 674658 - nsDOMEventTargetWrapperCache fails to unlink inherited fields, r=bent
authorOlli Pettay <Olli.Pettay@helsinki.fi>
Thu, 28 Jul 2011 22:54:35 +0300
changeset 73494 45caaf30e1feb0ade08eb50bea386e9f8098dfe5
parent 73493 83129d0d4abeb704dd1f8261f082273c4040c710
child 73495 267ada59f86f2a956fb16756356035a9a3e9ccd0
child 73546 109894baf0c73c3ed0caf8d56b68354c879106db
push idunknown
push userunknown
push dateunknown
reviewersbent
bugs674658
milestone8.0a1
Bug 674658 - nsDOMEventTargetWrapperCache fails to unlink inherited fields, r=bent
content/base/src/nsDOMEventTargetWrapperCache.cpp
--- a/content/base/src/nsDOMEventTargetWrapperCache.cpp
+++ b/content/base/src/nsDOMEventTargetWrapperCache.cpp
@@ -53,17 +53,18 @@ NS_IMPL_CYCLE_COLLECTION_TRACE_BEGIN(nsD
   NS_IMPL_CYCLE_COLLECTION_TRACE_PRESERVED_WRAPPER
 NS_IMPL_CYCLE_COLLECTION_TRACE_END
 
 NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED(nsDOMEventTargetWrapperCache,
                                                   nsDOMEventTargetHelper)
   NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS
 NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END
 
-NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN(nsDOMEventTargetWrapperCache)
+NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN_INHERITED(nsDOMEventTargetWrapperCache,
+                                                nsDOMEventTargetHelper)
   NS_IMPL_CYCLE_COLLECTION_UNLINK_PRESERVED_WRAPPER
 NS_IMPL_CYCLE_COLLECTION_UNLINK_END
 
 NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(nsDOMEventTargetWrapperCache)
   NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
 NS_INTERFACE_MAP_END_INHERITING(nsDOMEventTargetHelper)
 
 NS_IMPL_ADDREF_INHERITED(nsDOMEventTargetWrapperCache, nsDOMEventTargetHelper)