зеркало из https://github.com/mozilla/gecko-dev.git
Remove animation hrottling that we don't want. Bug 386269, patch by tor and Alfred Kayser <alfredkayser@nl.ibm.com>, r=pavlov, sr=tor
This commit is contained in:
Родитель
f8059742c5
Коммит
c62077654e
|
@ -39,7 +39,6 @@
|
|||
|
||||
#define MAX_LZW_BITS 12
|
||||
#define MAX_BITS 4097 /* 2^MAX_LZW_BITS+1 */
|
||||
#define MINIMUM_DELAY_TIME 100
|
||||
#define MAX_COLORS 256
|
||||
#define MAX_HOLD_SIZE 256
|
||||
|
||||
|
|
|
@ -337,11 +337,6 @@ void nsGIFDecoder2::BeginImageFrame()
|
|||
//******************************************************************************
|
||||
void nsGIFDecoder2::EndImageFrame()
|
||||
{
|
||||
// An image can specify a delay time before which to display
|
||||
// subsequent images.
|
||||
if (mGIFStruct.delay_time < MINIMUM_DELAY_TIME)
|
||||
mGIFStruct.delay_time = MINIMUM_DELAY_TIME;
|
||||
|
||||
mGIFStruct.images_decoded++;
|
||||
|
||||
// If mImageFrame hasn't been initialized, call HaveDecodedRow to init it
|
||||
|
|
Загрузка…
Ссылка в новой задаче