Bug 398300. Places utils.js instantiates livemark service on startup, but could avoid it. r=mano, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@237169 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -408,8 +408,10 @@ var PlacesUtils = {
|
||||
* @returns true if the node is a livemark container item
|
||||
*/
|
||||
nodeIsLivemarkContainer: function PU_nodeIsLivemarkContainer(aNode) {
|
||||
// Use the annotations service directly to avoid instantiating
|
||||
// the Livemark service on startup. (bug 398300)
|
||||
return this.nodeIsFolder(aNode) &&
|
||||
this.livemarks.isLivemark(aNode.itemId);
|
||||
this._annotations.itemHasAnnotation(aNode, LMANNO_FEEDURI);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user