summaryrefslogtreecommitdiffstats
path: root/toolkit/components/thumbnails/PageThumbs.jsm
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-07-25 13:45:48 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-07-25 13:45:48 +0200
commit19b35e92511718fb5cfe653df535e072c7ccd748 (patch)
tree4b768c9ea966589ae68e844f2af4324df8b14a9a /toolkit/components/thumbnails/PageThumbs.jsm
parente437d80133c96096460bf9418f17f25a65a2db46 (diff)
downloadUXP-19b35e92511718fb5cfe653df535e072c7ccd748.tar
UXP-19b35e92511718fb5cfe653df535e072c7ccd748.tar.gz
UXP-19b35e92511718fb5cfe653df535e072c7ccd748.tar.lz
UXP-19b35e92511718fb5cfe653df535e072c7ccd748.tar.xz
UXP-19b35e92511718fb5cfe653df535e072c7ccd748.zip
Use a fixed thumbnail placeholder for blank thumbs (failed to capture).
Diffstat (limited to 'toolkit/components/thumbnails/PageThumbs.jsm')
-rw-r--r--toolkit/components/thumbnails/PageThumbs.jsm3
1 files changed, 3 insertions, 0 deletions
diff --git a/toolkit/components/thumbnails/PageThumbs.jsm b/toolkit/components/thumbnails/PageThumbs.jsm
index b0affee92..4b343c605 100644
--- a/toolkit/components/thumbnails/PageThumbs.jsm
+++ b/toolkit/components/thumbnails/PageThumbs.jsm
@@ -28,6 +28,9 @@ const MAX_THUMBNAIL_AGE_SECS = 172800; // 2 days == 60*60*24*2 == 172800 secs.
*/
const THUMBNAIL_DIRECTORY = "thumbnails";
+// contains base64 version of a placeholder thumbnail
+#include "blankthumb.inc"
+
Cu.import("resource://gre/modules/XPCOMUtils.jsm", this);
Cu.import("resource://gre/modules/PromiseWorker.jsm", this);
Cu.import("resource://gre/modules/Promise.jsm", this);