forked from mirrors/gecko-dev
Bug 1892285 - Use correct method when setting image.mem.max_legal_imgframe_size_kb pref. r=tsmith
Differential Revision: https://phabricator.services.mozilla.com/D207894
This commit is contained in:
parent
0b83014a97
commit
c7a25587de
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ static int RunDecodeToSurfaceFuzzingJXL(nsCOMPtr<nsIInputStream> inputStream) {
|
|||
|
||||
int FuzzingInitImage(int* argc, char*** argv) {
|
||||
Preferences::SetBool("image.avif.sequence.enabled", true);
|
||||
Preferences::SetBool("image.mem.max_legal_imgframe_size_kb", 65536);
|
||||
Preferences::SetInt("image.mem.max_legal_imgframe_size_kb", 65536);
|
||||
#ifdef MOZ_JXL
|
||||
Preferences::SetBool("image.jxl.enabled", true);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue