Bug 903071: Drop unused variable 'gfxSize' from ImageDataSerializer::ComputeMinBufferSize. r=nical

This commit is contained in:
Daniel Holbert 2013-08-09 15:07:32 +02:00
Родитель 09de524f1a
Коммит 0fdeed96a8
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -63,7 +63,6 @@ ImageDataSerializer::ComputeMinBufferSize(gfx::IntSize aSize,
{
// Note that at the moment we pack the image data with the minimum possible
// stride, we may decide to change that if we want aligned stride.
gfxIntSize gfxSize = gfxIntSize(aSize.width, aSize.height);
uint32_t bufsize = aSize.height * gfx::BytesPerPixel(aFormat) * aSize.width;
return SurfaceBufferInfo::GetOffset()
+ gfx::GetAlignedStride<16>(bufsize);