Skip to content

Commit

Permalink
Bug 1544002 - nsNavHistoryResult::mRefreshParticipants should partici…
Browse files Browse the repository at this point in the history
…pate in cycle collection. r=mak

It is an array of cycle collected objects.

Differential Revision: https://phabricator.services.mozilla.com/D27337

--HG--
extra : moz-landing-system : lando
  • Loading branch information
amccreight committed Apr 15, 2019
1 parent 6f0a882 commit 364251a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions toolkit/components/places/nsNavHistoryResult.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3473,6 +3473,7 @@ NS_IMPL_CYCLE_COLLECTION_UNLINK_BEGIN(nsNavHistoryResult)
NS_IMPL_CYCLE_COLLECTION_UNLINK(mMobilePrefObservers)
NS_IMPL_CYCLE_COLLECTION_UNLINK(mAllBookmarksObservers)
NS_IMPL_CYCLE_COLLECTION_UNLINK(mHistoryObservers)
NS_IMPL_CYCLE_COLLECTION_UNLINK(mRefreshParticipants)
NS_IMPL_CYCLE_COLLECTION_UNLINK_END

NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(nsNavHistoryResult)
Expand All @@ -3490,6 +3491,7 @@ NS_IMPL_CYCLE_COLLECTION_TRAVERSE_BEGIN(nsNavHistoryResult)
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mMobilePrefObservers)
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mAllBookmarksObservers)
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mHistoryObservers)
NS_IMPL_CYCLE_COLLECTION_TRAVERSE(mRefreshParticipants)
NS_IMPL_CYCLE_COLLECTION_TRAVERSE_END

NS_IMPL_CYCLE_COLLECTING_ADDREF(nsNavHistoryResult)
Expand Down

0 comments on commit 364251a

Please sign in to comment.