Bug 1317562. Make nsTreeBodyFrame use async image notifications during painting. r=aosmond

This commit is contained in:
Timothy Nikkel 2016-11-26 01:56:27 -06:00
parent 501b1c2574
commit e114bb1b97

View File

@ -2205,7 +2205,7 @@ nsTreeBodyFrame::GetImage(int32_t aRowIndex, nsTreeColumn* aCol, bool aUseContex
return NS_ERROR_FAILURE;
// We don't want discarding/decode-on-draw for xul images
imageRequest->StartDecoding(imgIContainer::FLAG_NONE);
imageRequest->StartDecoding(imgIContainer::FLAG_ASYNC_NOTIFY);
imageRequest->LockImage();
// In a case it was already cached.