summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-02-05 11:00:30 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-02-05 11:00:30 +0100
commitf560671b66bd34b1f2271432adf945aee887c933 (patch)
treed9f914eaa8e024f7970c8eb08863d69d36a453a0
parent5fde5ba78eece73f54803786a6e3a41085211b6e (diff)
downloadUXP-f560671b66bd34b1f2271432adf945aee887c933.tar
UXP-f560671b66bd34b1f2271432adf945aee887c933.tar.gz
UXP-f560671b66bd34b1f2271432adf945aee887c933.tar.lz
UXP-f560671b66bd34b1f2271432adf945aee887c933.tar.xz
UXP-f560671b66bd34b1f2271432adf945aee887c933.zip
Include blankthumb in the correct file.
-rw-r--r--toolkit/components/thumbnails/BackgroundPageThumbs.jsm3
-rw-r--r--toolkit/components/thumbnails/PageThumbs.jsm3
-rw-r--r--toolkit/components/thumbnails/moz.build4
3 files changed, 5 insertions, 5 deletions
diff --git a/toolkit/components/thumbnails/BackgroundPageThumbs.jsm b/toolkit/components/thumbnails/BackgroundPageThumbs.jsm
index 3eec9827d..3ba0c346c 100644
--- a/toolkit/components/thumbnails/BackgroundPageThumbs.jsm
+++ b/toolkit/components/thumbnails/BackgroundPageThumbs.jsm
@@ -41,6 +41,9 @@ XPCOMUtils.defineLazyModuleGetter(this, "ContextualIdentityService",
"resource://gre/modules/ContextualIdentityService.jsm");
const global = this;
+// contains base64 version of a placeholder thumbnail
+#include blankthumb.inc
+
const BackgroundPageThumbs = {
/**
diff --git a/toolkit/components/thumbnails/PageThumbs.jsm b/toolkit/components/thumbnails/PageThumbs.jsm
index 5c7754b31..b0affee92 100644
--- a/toolkit/components/thumbnails/PageThumbs.jsm
+++ b/toolkit/components/thumbnails/PageThumbs.jsm
@@ -28,9 +28,6 @@ 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);
diff --git a/toolkit/components/thumbnails/moz.build b/toolkit/components/thumbnails/moz.build
index d4003c635..e4a178998 100644
--- a/toolkit/components/thumbnails/moz.build
+++ b/toolkit/components/thumbnails/moz.build
@@ -13,13 +13,13 @@ EXTRA_COMPONENTS += [
]
EXTRA_JS_MODULES += [
- 'BackgroundPageThumbs.jsm',
+ 'PageThumbs.jsm',
'PageThumbsWorker.js',
'PageThumbUtils.jsm',
]
EXTRA_PP_JS_MODULES += [
- 'PageThumbs.jsm',
+ 'BackgroundPageThumbs.jsm',
]