mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1163657 - Clean up setting of mFlags in CCGraphBuilder's ctor. r=smaug
This commit is contained in:
parent
92314c1891
commit
63332cbc86
@ -2165,19 +2165,16 @@ CCGraphBuilder::CCGraphBuilder(CCGraph& aGraph,
|
||||
mJSZoneParticipant = aJSRuntime->ZoneParticipant();
|
||||
}
|
||||
|
||||
uint32_t flags = 0;
|
||||
if (!flags && mListener) {
|
||||
flags = nsCycleCollectionTraversalCallback::WANT_DEBUG_INFO;
|
||||
if (mListener) {
|
||||
mFlags |= nsCycleCollectionTraversalCallback::WANT_DEBUG_INFO;
|
||||
bool all = false;
|
||||
mListener->GetWantAllTraces(&all);
|
||||
if (all) {
|
||||
flags |= nsCycleCollectionTraversalCallback::WANT_ALL_TRACES;
|
||||
mFlags |= nsCycleCollectionTraversalCallback::WANT_ALL_TRACES;
|
||||
mWantAllTraces = true; // for nsCycleCollectionNoteRootCallback
|
||||
}
|
||||
}
|
||||
|
||||
mFlags |= flags;
|
||||
|
||||
mMergeZones = mMergeZones && MOZ_LIKELY(!WantAllTraces());
|
||||
|
||||
MOZ_ASSERT(nsCycleCollectionNoteRootCallback::WantAllTraces() ==
|
||||
|
Loading…
Reference in New Issue
Block a user