From 6b4891ea036be3891939ea53b331e4318a67b4be Mon Sep 17 00:00:00 2001 From: Kartikaya Gupta Date: Sun, 24 Mar 2019 20:52:46 +0000 Subject: [PATCH] Bug 1538538 - Minor tweak for consistency. r=dthayer This has no functional effect but makes it consistent with other similar sites. Depends on D24650 Differential Revision: https://phabricator.services.mozilla.com/D24651 --HG-- extra : moz-landing-system : lando --- gfx/layers/wr/WebRenderScrollDataWrapper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/layers/wr/WebRenderScrollDataWrapper.h b/gfx/layers/wr/WebRenderScrollDataWrapper.h index 1ccbccd358fe..adc88b6c4aa2 100644 --- a/gfx/layers/wr/WebRenderScrollDataWrapper.h +++ b/gfx/layers/wr/WebRenderScrollDataWrapper.h @@ -189,7 +189,7 @@ class MOZ_STACK_CLASS WebRenderScrollDataWrapper { if (!layerIndex) { // It's possible that there's no wrapper root. In that case there are // no descendants - return WebRenderScrollDataWrapper(*mUpdater, mWrRootId); + return WebRenderScrollDataWrapper(*mUpdater, newWrRootId); } return WebRenderScrollDataWrapper(mUpdater, newWrRootId, childData, *layerIndex,