зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1463605 - Check continuation or IB split sibling frames in nsDOMWindowUtils::CheckAndClearPaintedState. r=mstange
MozReview-Commit-ID: CgyErEGeZJS --HG-- extra : rebase_source : 1e179f64a39e0cab6b32074fa6ebf6c1884c8b32
This commit is contained in:
Родитель
265c5c817a
Коммит
0408cbb49e
|
@ -2907,7 +2907,14 @@ nsDOMWindowUtils::CheckAndClearPaintedState(Element* aElement, bool* aResult)
|
|||
}
|
||||
}
|
||||
|
||||
*aResult = frame->CheckAndClearPaintedState();
|
||||
while (frame) {
|
||||
if (!frame->CheckAndClearPaintedState()) {
|
||||
*aResult = false;
|
||||
return NS_OK;
|
||||
}
|
||||
frame = nsLayoutUtils::GetNextContinuationOrIBSplitSibling(frame);
|
||||
}
|
||||
*aResult = true;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче