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

some reason.  r=bryner, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@203609 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu 2006-07-25 02:26:30 +00:00
parent 0c47765082
commit 34d84daf1c

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