Bug 845147. Fix accidentally landed incorrect patch so it does some sync decoding for images being decoded the first time. r=joe

This commit is contained in:
Timothy Nikkel 2013-06-26 15:36:43 -05:00
parent eec267f007
commit e71f68ab8f

View File

@ -2319,8 +2319,8 @@ RasterImage::StartDecoding()
{
// 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*/);
return RequestDecodeCore(mHasBeenDecoded ?
SYNCHRONOUS_NOTIFY : SYNCHRONOUS_NOTIFY_AND_SOME_DECODE);
}
bool