mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 398300. Places utils.js instantiates livemark service on startup, but could avoid it. r=mano, a=beltzner
This commit is contained in:
parent
d736fb5c08
commit
85df010fad
@ -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);
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user