Bug 1452791 - Update WebRenderLayerManager mAnimationReadyTime in empty transactions r=kats

MozReview-Commit-ID: 898pemO7YxO

--HG--
extra : rebase_source : d9f51ae6455bb633374d0752b0c73f6ef960ba9a
This commit is contained in:
Miko Mynttinen 2018-04-10 16:07:48 +02:00
Родитель 45a5fa3432
Коммит 497d73ffdc
1 изменённых файлов: 3 добавлений и 0 удалений

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

@ -191,6 +191,9 @@ WebRenderLayerManager::EndEmptyTransaction(EndTransactionFlags aFlags)
return false;
}
// Since we don't do repeat transactions right now, just set the time
mAnimationReadyTime = TimeStamp::Now();
// With the WebRenderLayerManager we reject attempts to set most kind of
// "pending data" for empty transactions. Any place that attempts to update
// transforms or scroll offset, for example, will get failure return values