Bug 1462497 - Follow-up to fix code that was accidentally inside a MOZ_DIAGNOSTIC_ASSERT_ENABLED block.

--HG--
extra : rebase_source : b83d1cba9ae77e01d7e972aae2d9611d1d5cac00
This commit is contained in:
Matt Woodrow 2018-05-25 09:56:28 +12:00
Родитель e93b527c22
Коммит 55904c6b43
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -2857,10 +2857,10 @@ public:
void SetOldListIndex(nsDisplayList* aList, OldListIndex aIndex, uint32_t aListKey, uint32_t aNestingDepth)
{
#ifdef MOZ_DIAGNOSTIC_ASSERT_ENABLED
mOldList = reinterpret_cast<uintptr_t>(aList);
mOldListKey = aListKey;
mOldNestingDepth = aNestingDepth;
#endif
mOldList = reinterpret_cast<uintptr_t>(aList);
mOldListIndex = aIndex;
}
bool GetOldListIndex(nsDisplayList* aList, uint32_t aListKey, OldListIndex* aOutIndex)