Fixed IID reference and added a reminder comment

git-svn-id: svn://10.0.0.236/trunk@3059 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp
1998-06-03 15:59:09 +00:00
parent 1ae8f2fbce
commit 2a34a0afa1
2 changed files with 4 additions and 2 deletions

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++) {