зеркало из https://github.com/mozilla/pjs.git
Followup fix for bug 565124. Don't write to bits other than the first bit in a 1-bit sized member. r=dholbert@mozilla.com, r=joe@drew.ca
This commit is contained in:
Родитель
6148b8854a
Коммит
9cdbd39150
|
@ -234,9 +234,9 @@ NS_IMETHODIMP imgContainer::Init(imgIDecoderObserver *aObserver,
|
|||
// Store initialization data
|
||||
mObserver = do_GetWeakReference(aObserver);
|
||||
mSourceDataMimeType.Assign(aMimeType);
|
||||
mDiscardable = aFlags & INIT_FLAG_DISCARDABLE;
|
||||
mDecodeOnDraw = aFlags & INIT_FLAG_DECODE_ON_DRAW;;
|
||||
mMultipart = aFlags & INIT_FLAG_MULTIPART;
|
||||
mDiscardable = !!(aFlags & INIT_FLAG_DISCARDABLE);
|
||||
mDecodeOnDraw = !!(aFlags & INIT_FLAG_DECODE_ON_DRAW);
|
||||
mMultipart = !!(aFlags & INIT_FLAG_MULTIPART);
|
||||
|
||||
// Statistics
|
||||
if (mDiscardable) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче