From 1ac0a66476628331a686309b06b39a878f6c6644 Mon Sep 17 00:00:00 2001 From: "dietrich@mozilla.com" Date: Tue, 18 Mar 2008 09:44:22 -0700 Subject: [PATCH] Bug 423470 ? fix calls to PlacesUtils._uri (r=dietrich) --- browser/components/places/content/utils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/browser/components/places/content/utils.js b/browser/components/places/content/utils.js index e9028d084b7..82b32089b4e 100644 --- a/browser/components/places/content/utils.js +++ b/browser/components/places/content/utils.js @@ -308,11 +308,11 @@ var PlacesUIUtils = { var siteURI = null; aData.annos = aData.annos.filter(function(aAnno) { if (aAnno.name == LMANNO_FEEDURI) { - feedURI = this._uri(aAnno.value); + feedURI = PlacesUtils._uri(aAnno.value); return false; } else if (aAnno.name == LMANNO_SITEURI) { - siteURI = this._uri(aAnno.value); + siteURI = PlacesUtils._uri(aAnno.value); return false; } return true; @@ -1073,7 +1073,7 @@ var PlacesUIUtils = { var title; if (!aNode.title && PlacesUtils.uriTypes.indexOf(aNode.type) != -1) { // if node title is empty, try to set the label using host and filename - // this._uri() will throw if aNode.uri is not a valid URI + // PlacesUtils._uri() will throw if aNode.uri is not a valid URI try { var uri = PlacesUtils._uri(aNode.uri); var host = uri.host;