Bug 1622360 - Remove the mRenderRoot fields from the DL and Update structures. r=jrmuizel

Depends on D75123

Differential Revision: https://phabricator.services.mozilla.com/D75124
This commit is contained in:
Kartikaya Gupta
2020-05-15 00:06:28 +00:00
parent a1bd191c13
commit 726088a539
5 changed files with 2 additions and 21 deletions

View File

@@ -248,7 +248,6 @@ bool WebRenderLayerManager::EndEmptyTransaction(EndTransactionFlags aFlags) {
if (mStateManager.mAsyncResourceUpdates || !mPendingScrollUpdates.IsEmpty() ||
WrBridge()->HasWebRenderParentCommands()) {
auto updates = renderRootUpdates.AppendElement();
updates->mRenderRoot = wr::RenderRoot::Default;
updates->mPaintSequenceNumber = mPaintSequenceNumber;
if (mStateManager.mAsyncResourceUpdates) {
mStateManager.mAsyncResourceUpdates->Flush(updates->mResourceUpdates,
@@ -400,7 +399,6 @@ void WebRenderLayerManager::EndTransactionWithoutLayer(
AUTO_PROFILER_TRACING_MARKER("Paint", "ForwardDPTransaction", GRAPHICS);
nsTArray<RenderRootDisplayListData> renderRootDLs;
auto renderRootDL = renderRootDLs.AppendElement();
renderRootDL->mRenderRoot = wr::RenderRoot::Default;
builder.Finalize(*renderRootDL);
mLastDisplayListSize = renderRootDL->mDL->mCapacity;
resourceUpdates.Flush(renderRootDL->mResourceUpdates,