summaryrefslogtreecommitdiffstats
path: root/image/test/fuzzing/TestDecoders.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'image/test/fuzzing/TestDecoders.cpp')
-rw-r--r--image/test/fuzzing/TestDecoders.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/image/test/fuzzing/TestDecoders.cpp b/image/test/fuzzing/TestDecoders.cpp
index c5c0dcdb27..20bc79330d 100644
--- a/image/test/fuzzing/TestDecoders.cpp
+++ b/image/test/fuzzing/TestDecoders.cpp
@@ -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