mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
Fixup bug 1084696 on a busted tree. r=me
This commit is contained in:
parent
47497b0b94
commit
75e7142b89
@ -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 ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user