зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1751806. Remove usage of gfxVars::UseWebRender in ActiveLayerTracker which is always true. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D136815
This commit is contained in:
Родитель
41c33e9917
Коммит
d1a54b0a05
|
@ -173,11 +173,6 @@ void LayerActivityTracker::NotifyExpired(LayerActivity* aObject) {
|
|||
"its frame or its content");
|
||||
|
||||
if (f) {
|
||||
// The pres context might have been detached during the delay -
|
||||
// that's fine, just skip the paint.
|
||||
if (f->PresContext()->GetContainerWeak() && !gfxVars::UseWebRender()) {
|
||||
f->SchedulePaint(nsIFrame::PAINT_DEFAULT, false);
|
||||
}
|
||||
f->RemoveStateBits(NS_FRAME_HAS_LAYER_ACTIVITY_PROPERTY);
|
||||
f->RemoveProperty(LayerActivityProperty());
|
||||
} else {
|
||||
|
|
Загрузка…
Ссылка в новой задаче