Bug 834493 - Drop livemarks support from SMILE, r=Neil
authorFrank Wein <mcsmurf@mcsmurf.de>
Thu, 07 Feb 2013 14:48:11 +0100
changeset 14818 64469a1a2402e7c02ce7f916d92adb11096417e8
parent 14817 1f44d40b85f9ce15b9f960fdb2687ce84f997eac
child 14819 e63ea30fd18be2d0ffb977475ca4b4a12b0f040d
push id867
push userbugzilla@standard8.plus.com
push dateMon, 01 Apr 2013 20:44:27 +0000
treeherdercomm-beta@797726b8d244 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersNeil
bugs834493
Bug 834493 - Drop livemarks support from SMILE, r=Neil
suite/smile/src/smileApplication.js
--- a/suite/smile/src/smileApplication.js
+++ b/suite/smile/src/smileApplication.js
@@ -22,25 +22,16 @@ var Utilities = {
   },
 
   get bookmarksObserver() {
     let bookmarksObserver = new BookmarksObserver();
     this.__defineGetter__("bookmarksObserver", function() bookmarksObserver);
     return this.bookmarksObserver;
   },
 
-  get livemarks() {
-    let livemarks =
-      Components.classes["@mozilla.org/browser/livemark-service;2"]
-                .getService(Components.interfaces.mozIAsyncLivemarks)
-                .QueryInterface(Components.interfaces.nsILivemarkService);
-    this.__defineGetter__("livemarks", function() livemarks);
-    return this.livemarks;
-  },
-
   get annotations() {
     let annotations =
       Components.classes["@mozilla.org/browser/annotation-service;1"]
                 .getService(Components.interfaces.nsIAnnotationService);
     this.__defineGetter__("annotations", function() annotations);
     return this.annotations;
   },
 
@@ -66,17 +57,16 @@ var Utilities = {
     var ios = Components.classes["@mozilla.org/network/io-service;1"]
                         .getService(Components.interfaces.nsIIOService);
     return ios.newURI(aSpec, null, null);
   },
 
   free: function smileutil_free() {
     delete this.bookmarks;
     delete this.bookmarksObserver;
-    delete this.livemarks
     delete this.annotations;
     delete this.history;
     delete this.windowMediator;
   }
 };
 
 
 //=================================================