From 362676fcadac37f9f585141a244a9a640948794a Mon Sep 17 00:00:00 2001 From: sotaro Date: Fri, 26 Feb 2021 03:56:40 +0000 Subject: [PATCH] Bug 1694822 - Fix return of RenderCompositorD3D11SWGL::DoCreateTile() r=mattwoodrow "return" was removed by mistake. Differential Revision: https://phabricator.services.mozilla.com/D106360 --- gfx/webrender_bindings/RenderCompositorD3D11SWGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/webrender_bindings/RenderCompositorD3D11SWGL.cpp b/gfx/webrender_bindings/RenderCompositorD3D11SWGL.cpp index 2e06d9313df1..f2edada04854 100644 --- a/gfx/webrender_bindings/RenderCompositorD3D11SWGL.cpp +++ b/gfx/webrender_bindings/RenderCompositorD3D11SWGL.cpp @@ -401,7 +401,7 @@ RenderCompositorD3D11SWGL::DoCreateTile(Surface* aSurface) { MOZ_ASSERT(SUCCEEDED(hr)); if (!texture) { gfxCriticalNote << "Failed to allocate Texture2D: " << aSurface->TileSize(); - MakeUnique(nullptr, nullptr, nullptr, aSurface, this); + return MakeUnique(nullptr, nullptr, nullptr, aSurface, this); } RefPtr source = new DataTextureSourceD3D11(