Bug 1317837. RasterImage::RequestDecodeForSize should set mWantFullDecode just like StartDecoding if we don't have our size yet. r=aosmond

This commit is contained in:
Timothy Nikkel 2016-12-01 15:52:06 -06:00
parent e1ccbb18fb
commit 3027ea82cf

View File

@ -1059,6 +1059,7 @@ RasterImage::RequestDecodeForSize(const IntSize& aSize, uint32_t aFlags)
}
if (!mHasSize) {
mWantFullDecode = true;
return NS_OK;
}