Bug 1200595 - Build fix on a CLOSED TREE.

This commit is contained in:
Nicolas Silva
2015-11-30 10:40:45 +01:00
parent faf88d12e6
commit 2a259248c6

View File

@@ -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