Fixed IID reference and added a reminder comment

This commit is contained in:
kipp
1998-06-03 15:59:09 +00:00
parent 1407ac4ef0
commit c4ef7a5505
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -134,7 +134,7 @@ nsHTMLDocument::LoadURL(nsIURL* aURL, nsIStreamListener* aListener,
return rv;
}
static NS_DEFINE_IID(kIDocumentObserverIID, NS_IDOCUMENTOBSERVER_IID);
static NS_DEFINE_IID(kIDocumentObserverIID, NS_IDOCUMENT_OBSERVER_IID);
NS_IMETHODIMP nsHTMLDocument::SetTitle(const nsString& aTitle)
{
@@ -145,6 +145,7 @@ NS_IMETHODIMP nsHTMLDocument::SetTitle(const nsString& aTitle)
*mDocumentTitle = aTitle;
}
// XXX should be in nsDocument
// Pass on title to observers
PRInt32 i, n = mObservers.Count();
for (i = 0; i < n; i++) {