зеркало из https://github.com/mozilla/gecko-dev.git
Bug 617512. Part 10: Don't wait for pending paints to flush in crashtests. r=dbaron
This commit is contained in:
Родитель
f7da8bd2c2
Коммит
77ca493695
|
@ -944,7 +944,9 @@ function shouldWaitForExplicitPaintWaiters() {
|
|||
}
|
||||
|
||||
function shouldWaitForPendingPaints() {
|
||||
return gWindowUtils.isMozAfterPaintPending;
|
||||
// if gCurrentCanvas is null, we're not taking snapshots so there is
|
||||
// no need to wait for pending paints to be flushed.
|
||||
return gCurrentCanvas && gWindowUtils.isMozAfterPaintPending;
|
||||
}
|
||||
|
||||
function shouldWaitForReftestWaitRemoval() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче