From f8d41cdc967e0e2e893cc648edf9c26479519343 Mon Sep 17 00:00:00 2001 From: Nicolas Silva Date: Mon, 30 Nov 2015 10:40:45 +0100 Subject: [PATCH] Bug 1200595 - Build fix on a CLOSED TREE. --- gfx/layers/opengl/GrallocTextureClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/layers/opengl/GrallocTextureClient.cpp b/gfx/layers/opengl/GrallocTextureClient.cpp index ea3d3cd69fe8..0d0995b8e4a9 100644 --- a/gfx/layers/opengl/GrallocTextureClient.cpp +++ b/gfx/layers/opengl/GrallocTextureClient.cpp @@ -346,7 +346,7 @@ GrallocTextureData::CreateForDrawing(gfx::IntSize aSize, gfx::SurfaceFormat aFor // (not with WebGL for instance). Not sure why that's OK, but we have tests that // rely on being able to create 32x32 webgl canvases with gralloc, so moving // this check in DisableGralloc will break them. - if (aSizeHint.width < 64 || aSizeHint.height < 32) { + if (aSize.width < 64 || aSize.height < 32) { return true; } #endif