Fixup bug 1084696 on a busted tree. r=me

This commit is contained in:
Mike Hommey 2014-10-18 16:14:45 +09:00
Родитель 47497b0b94
Коммит 75e7142b89
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -491,7 +491,7 @@ ReadbackSharedSurface(SharedSurface* src, gfx::DrawTarget* dst)
gfx::IntSize dstSize;
int32_t dstStride;
gfx::SurfaceFormat dstFormat;
if (!lock->Lock(&dstBytes, &dstSize, &dstStride, &dstFormat))
if (!lock.Lock(&dstBytes, &dstSize, &dstStride, &dstFormat))
return false;
const bool isDstRGBA = (dstFormat == gfx::SurfaceFormat::R8G8B8A8 ||