mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1103328 (Part 3) - Fire HAS_TRANSPARENCY in nsIconDecoder. r=tn
This commit is contained in:
parent
a7508e73c7
commit
28d652639c
@ -59,6 +59,9 @@ nsIconDecoder::WriteInternal(const char* aBuffer, uint32_t aCount,
|
||||
|
||||
// Post our size to the superclass
|
||||
PostSize(mWidth, mHeight);
|
||||
|
||||
PostHasTransparency();
|
||||
|
||||
if (HasError()) {
|
||||
// Setting the size led to an error.
|
||||
mState = iconStateFinished;
|
||||
|
@ -79,7 +79,6 @@ CheckProgressConsistency(Progress aProgress)
|
||||
MOZ_ASSERT(aProgress & FLAG_SIZE_AVAILABLE);
|
||||
}
|
||||
if (aProgress & FLAG_HAS_TRANSPARENCY) {
|
||||
MOZ_ASSERT(aProgress & FLAG_DECODE_STARTED);
|
||||
MOZ_ASSERT(aProgress & FLAG_SIZE_AVAILABLE);
|
||||
}
|
||||
if (aProgress & FLAG_IS_MULTIPART) {
|
||||
|
Loading…
Reference in New Issue
Block a user