Bug 785436 - PageThumbsWorker.js url is wrong when creating the worker in PageThumbs.jsm. r=gavin
authorMike Hommey <mh+mozilla@glandium.org>
Sat, 25 Aug 2012 08:55:48 +0200
changeset 105414 8056f890ce791be8e9b8d4b55fd21203171e83fd
parent 105413 d7fb23a822dd7ce3d641dcaa7ca485ee96fafb0e
child 105415 54fdedb218f858cda41f4c45d91dc8ee46d998e5
push id55
push usershu@rfrn.org
push dateThu, 30 Aug 2012 01:33:09 +0000
reviewersgavin
bugs785436
milestone17.0a1
Bug 785436 - PageThumbsWorker.js url is wrong when creating the worker in PageThumbs.jsm. r=gavin
browser/components/thumbnails/PageThumbs.jsm
--- a/browser/components/thumbnails/PageThumbs.jsm
+++ b/browser/components/thumbnails/PageThumbs.jsm
@@ -480,17 +480,17 @@ let PageThumbsWorker = {
   _callbacks: [],
 
   /**
    * Get the worker, spawning it if necessary.
    * Code of the worker is in companion file PageThumbsWorker.js
    */
   get _worker() {
     delete this._worker;
-    this._worker = new ChromeWorker("resource://gre/modules/PageThumbsWorker.js");
+    this._worker = new ChromeWorker("resource:///modules/PageThumbsWorker.js");
     this._worker.addEventListener("message", this);
     return this._worker;
   },
 
   /**
    * Post a message to the dedicated thread, registering a callback
    * to be executed once the reply has been received.
    *