Bug 1535507 - Don't force display item rebuilding for ActiveLayerTracker expiry, since we should only need to update the Layer tree. r=miko

Differential Revision: https://phabricator.services.mozilla.com/D23608

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Matt Woodrow 2019-03-19 22:24:02 +00:00
Родитель ab764ec7dc
Коммит 9146a4d43a
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -192,7 +192,7 @@ void LayerActivityTracker::NotifyExpired(LayerActivity* aObject) {
// The pres context might have been detached during the delay -
// that's fine, just skip the paint.
if (f->PresContext()->GetContainerWeak()) {
f->SchedulePaint();
f->SchedulePaint(nsIFrame::PAINT_DEFAULT, false);
}
f->RemoveStateBits(NS_FRAME_HAS_LAYER_ACTIVITY_PROPERTY);
f->DeleteProperty(LayerActivityProperty());