+8
−4
Loading
Bug 1391430 - Force heap allocated surfaces for image decoding to use an unaligned stride. r=tnikkel In bug 1383499 we fixed the case where on Android, animated images could consume all of the available file handles. This is because each volatile buffer will contain a file handle on Android, and animated images can contain many, many frames. However in doing so we introduced a bug where the stride of replacement surface was aligned to a 16-byte boundary. We do not currently support any stride value but pixel size * image width in the image decoding framework. This may be something we correct in the future but for now, we should just ensure all surfaces follow the expected stride value.