Fix build bustage. Caused by bug 342062, but I put the patch in bug 344050 for

some reason.  r=bryner, sr=sicking
This commit is contained in:
bzbarsky%mit.edu 2006-07-25 02:26:30 +00:00
parent 8a6b024d8f
commit 83f73addbf

View File

@ -520,8 +520,9 @@ nsLoadCollector::EndUpdate(nsIDocument *document, nsUpdateType updateType)
}
void
nsLoadCollector::DocumentWillBeDestroyed(nsIDocument *document)
nsLoadCollector::NodeWillBeDestroyed(const nsINode *node)
{
const nsIDocument* document = NS_STATIC_CAST(const nsIDocument*, node);
// Look up the document to get its id.
DocumentEntry entry;
if (!mDocumentMap.Get(document, &entry)) {