diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-02-05 11:00:30 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-02-05 11:00:30 +0100 |
commit | f560671b66bd34b1f2271432adf945aee887c933 (patch) | |
tree | d9f914eaa8e024f7970c8eb08863d69d36a453a0 | |
parent | 5fde5ba78eece73f54803786a6e3a41085211b6e (diff) | |
download | UXP-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.jsm | 3 | ||||
-rw-r--r-- | toolkit/components/thumbnails/PageThumbs.jsm | 3 | ||||
-rw-r--r-- | toolkit/components/thumbnails/moz.build | 4 |
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', ] |