mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
Bug 1317562. Make nsTreeBodyFrame use async image notifications during painting. r=aosmond
This commit is contained in:
parent
501b1c2574
commit
e114bb1b97
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user