From 76625b1eb67d43600fa521a8dec97999fe1be7ca Mon Sep 17 00:00:00 2001 From: Jeff Muizelaar Date: Fri, 6 Sep 2019 15:05:20 +0000 Subject: [PATCH] Bug 1579401. wr-blob: Merge if condition. r=nical No need to check twice and this will make it cleaner when we change the condition. Differential Revision: https://phabricator.services.mozilla.com/D44994 --HG-- extra : moz-landing-system : lando --- gfx/layers/wr/WebRenderCommandBuilder.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gfx/layers/wr/WebRenderCommandBuilder.cpp b/gfx/layers/wr/WebRenderCommandBuilder.cpp index 0c7edd1da59e..f56de3502d1d 100644 --- a/gfx/layers/wr/WebRenderCommandBuilder.cpp +++ b/gfx/layers/wr/WebRenderCommandBuilder.cpp @@ -794,11 +794,6 @@ struct DIGroup { if (!mInvalidRect.Contains(bounds)) { GP("Passing\n"); dirty = false; - } - - if (mInvalidRect.Contains(bounds)) { - GP("Wholely contained\n"); - } else { BlobItemData* data = GetBlobItemData(item); if (data->mInvalid) { if (item->GetType() == DisplayItemType::TYPE_TRANSFORM) {