mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 844061 - DocAccessible doesn't need to keep a strong pointer to nsIDocument, r=tbsaunde
This commit is contained in:
parent
93a0343225
commit
2ce91de138
@ -104,7 +104,6 @@ DocAccessible::~DocAccessible()
|
||||
// nsISupports
|
||||
|
||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED(DocAccessible, Accessible)
|
||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mDocumentNode)
|
||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mNotificationController)
|
||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mVirtualCursor)
|
||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mChildDocuments)
|
||||
@ -112,7 +111,6 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN_INHERITED(DocAccessible, Accessible)
|
||||
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END
|
||||
|
||||
NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN_INHERITED(DocAccessible, Accessible)
|
||||
NS_IMPL_CYCLE_COLLECTION_UNLINK(mDocumentNode)
|
||||
NS_IMPL_CYCLE_COLLECTION_UNLINK(mNotificationController)
|
||||
NS_IMPL_CYCLE_COLLECTION_UNLINK(mVirtualCursor)
|
||||
NS_IMPL_CYCLE_COLLECTION_UNLINK(mChildDocuments)
|
||||
|
@ -506,7 +506,7 @@ protected:
|
||||
nsDataHashtable<nsPtrHashKey<const nsINode>, Accessible*>
|
||||
mNodeToAccessibleMap;
|
||||
|
||||
nsCOMPtr<nsIDocument> mDocumentNode;
|
||||
nsIDocument* mDocumentNode;
|
||||
nsCOMPtr<nsITimer> mScrollWatchTimer;
|
||||
uint16_t mScrollPositionChangedTicks; // Used for tracking scroll events
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user