mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-23 10:54:33 +00:00
b=329680, crash in gfxContext::SetSource (ensure we have an image surface before optimizing in nsThebesImage), r=pav
This commit is contained in:
parent
a0ed51d33e
commit
0e4cb03112
@ -201,6 +201,7 @@ nsresult
|
||||
nsThebesImage::Optimize(nsIDeviceContext* aContext)
|
||||
{
|
||||
UpdateFromLockedData();
|
||||
EnsureImageSurface();
|
||||
|
||||
if (!mOptSurface) {
|
||||
gfxASurface::gfxImageFormat real_format;
|
||||
|
Loading…
x
Reference in New Issue
Block a user