mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 845147 - Don't decode images synchronously if we've decoded them once before. r=joedrew
This commit is contained in:
parent
0a654b9497
commit
a814ad50fc
@ -2316,7 +2316,10 @@ RasterImage::RequestDecode()
|
|||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
RasterImage::StartDecoding()
|
RasterImage::StartDecoding()
|
||||||
{
|
{
|
||||||
return RequestDecodeCore(SYNCHRONOUS_NOTIFY_AND_SOME_DECODE);
|
// Here we are explicitly trading off flashing for responsiveness in the case
|
||||||
|
// that we're redecoding an image (see bug 845147).
|
||||||
|
return RequestDecodeCore(//mHasBeenDecoded ?
|
||||||
|
SYNCHRONOUS_NOTIFY /*: SYNCHRONOUS_NOTIFY_AND_SOME_DECODE*/);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
Loading…
Reference in New Issue
Block a user