зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1200595 - Build fix on a CLOSED TREE.
This commit is contained in:
Родитель
f37bf8fe6e
Коммит
f8d41cdc96
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче