Bug 1535507 - Don't create new display items for InvalidateLayer, since only the Layer tree should need to change. r=miko

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

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

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

@ -7099,7 +7099,7 @@ Layer* nsIFrame::InvalidateLayer(DisplayItemType aDisplayItemKey,
Layer* layer = FrameLayerBuilder::GetDedicatedLayer(this, aDisplayItemKey);
nsIFrame* displayRoot = nsLayoutUtils::GetDisplayRootFrame(this);
InvalidateRenderingObservers(displayRoot, this);
InvalidateRenderingObservers(displayRoot, this, false);
// Check if frame supports WebRender's async update
if ((aFlags & UPDATE_IS_ASYNC) &&