diff --git a/mobile/chrome/content/aboutCertError.xhtml b/mobile/chrome/content/aboutCertError.xhtml
index dd98abb71686..69fa3a7cfdb0 100644
--- a/mobile/chrome/content/aboutCertError.xhtml
+++ b/mobile/chrome/content/aboutCertError.xhtml
@@ -63,7 +63,7 @@
If the location of the favicon is changed for both pages, the
FAVICON_ERRORPAGE_URL symbol in toolkit/components/places/src/nsFaviconService.h
should be updated. If this page starts using a different favicon
- than neterrorm nsFaviconService->DoSetAndLoadFaviconForPage
+ than neterrorm nsFaviconService->SetAndLoadFaviconForPage
should be updated to ignore this one as well. -->
diff --git a/toolkit/components/places/nsFaviconService.h b/toolkit/components/places/nsFaviconService.h
index 747514009cc3..7e3679d6a735 100644
--- a/toolkit/components/places/nsFaviconService.h
+++ b/toolkit/components/places/nsFaviconService.h
@@ -97,12 +97,6 @@ public:
return gFaviconService;
}
- // internal version called by history when done lazily
- nsresult DoSetAndLoadFaviconForPage(nsIURI* aPageURI,
- nsIURI* aFaviconURI,
- bool aForceReload,
- nsIFaviconDataCallback* aCallback);
-
// addition to API for strings to prevent excessive parsing of URIs
nsresult GetFaviconLinkForIconString(const nsCString& aIcon, nsIURI** aOutput);
void GetFaviconSpecForIconString(const nsCString& aIcon, nsACString& aOutput);
@@ -125,17 +119,6 @@ public:
nsresult GetFaviconDataAsync(nsIURI* aFaviconURI,
mozIStorageStatementCallback* aCallback);
- /**
- * Checks to see if a favicon's URI has changed, and notifies callers if it
- * has.
- *
- * @param aPageURI
- * The URI of the page aFaviconURI is for.
- * @param aFaviconURI
- * The URI for the favicon we want to test for on aPageURI.
- */
- void checkAndNotify(nsIURI* aPageURI, nsIURI* aFaviconURI);
-
/**
* Call to send out favicon changed notifications. Should only be called
* when there is data loaded for the favicon.
@@ -181,9 +164,6 @@ private:
PRUint32 mFailedFaviconSerial;
nsDataHashtable mFailedFavicons;
- nsresult SetFaviconUrlForPageInternal(nsIURI* aURI, nsIURI* aFavicon,
- bool* aHasData);
-
// Caches the content of the default favicon if it's not already cached and
// copies it into byteStr.
nsresult GetDefaultFaviconData(nsCString& byteStr);