зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1632467: Clear eGroupInfoDirty flag when creating AccGroupInfo. r=MarcoZ
When the tree is mutated, we set eGroupInfoDirty regardless of whether there is GroupInfo. Previously, we cleared eGroupInfoDirty when updating GroupInfo, but not when creating it. This meant that the flag was often still set, causing the cache to not be used a lot of the time. Differential Revision: https://phabricator.services.mozilla.com/D72139
This commit is contained in:
Родитель
76b3952248
Коммит
99f2b37464
|
@ -2604,6 +2604,7 @@ AccGroupInfo* Accessible::GetGroupInfo() const {
|
|||
}
|
||||
|
||||
mBits.groupInfo = AccGroupInfo::CreateGroupInfo(this);
|
||||
mStateFlags &= ~eGroupInfoDirty;
|
||||
return mBits.groupInfo;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче