summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-09-14 21:48:14 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-01 14:28:27 +0200
commit808f96cc8f3d0cb3800e741f92820ed3ed0c4464 (patch)
treed52fae5dbcbe970b68eb3180ecd549ac690506e0 /toolkit
parent2a9d0cc5af3552a378778cb2aaf5317b5f8ddd14 (diff)
downloaduxp-808f96cc8f3d0cb3800e741f92820ed3ed0c4464.tar.gz
Increase MAX_ICON_SIZE to account for more common use of HiDPI icons.
This change was unintentionally reverted when importing gecko/44 search service code.
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/components/search/nsSearchService.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/components/search/nsSearchService.js b/toolkit/components/search/nsSearchService.js
index f3e8b94a75..7b45e30644 100644
--- a/toolkit/components/search/nsSearchService.js
+++ b/toolkit/components/search/nsSearchService.js
@@ -111,7 +111,7 @@ const NEW_LINES = /(\r\n|\r|\n)/;
// Set an arbitrary cap on the maximum icon size. Without this, large icons can
// cause big delays when loading them at startup.
-const MAX_ICON_SIZE = 10000;
+const MAX_ICON_SIZE = 32768;
// Default charset to use for sending search parameters. ISO-8859-1 is used to
// match previous nsInternetSearchService behavior.