зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1115812 patch 18 - We only need to call ProcessPendingRestyles recursively, rather than RebuildAllStyleData. r=heycam
If we discover that we've set mDoRebuildAllStyleData in the middle of ProcessPendingRestyles(), now that ProcessPendingRestyles() fully handles mDoRebuildAllStyleData, we only need to make a recursive call to ProcessPendingRestyles, rather than calling RebuildAllStyleData to call ProcessPendingRestyles.
This commit is contained in:
Родитель
a998c7bd03
Коммит
0e8362d05a
|
@ -1651,7 +1651,7 @@ RestyleManager::ProcessPendingRestyles()
|
|||
// We probably wasted a lot of work up above, but this seems safest
|
||||
// and it should be rarely used.
|
||||
// This might add us as a refresh observer again; that's ok.
|
||||
RebuildAllStyleData(nsChangeHint(0), nsRestyleHint(0));
|
||||
ProcessPendingRestyles();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче