From f804bb9f0bb742ea5f1b5eb39366492993a33490 Mon Sep 17 00:00:00 2001 From: "peterv%propagandism.org" Date: Wed, 3 Jan 2007 13:36:18 +0000 Subject: [PATCH] Fix for bug 365597 (Crash [@ nsINodeInfo::NodeInfoManager]). r/sr=sicking. --- content/xslt/src/xslt/txMozillaXMLOutput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/xslt/src/xslt/txMozillaXMLOutput.cpp b/content/xslt/src/xslt/txMozillaXMLOutput.cpp index ec4f2cdfd6ff..a125342f6705 100644 --- a/content/xslt/src/xslt/txMozillaXMLOutput.cpp +++ b/content/xslt/src/xslt/txMozillaXMLOutput.cpp @@ -666,7 +666,7 @@ txMozillaXMLOutput::createTxWrapper() PRUint32 rootLocation = 0; #endif for (i = 0, j = 0; i < childCount; ++i) { - nsIContent* childContent = mDocument->GetChildAt(j); + nsCOMPtr childContent = mDocument->GetChildAt(j); #ifdef DEBUG if (childContent->IsNodeOfType(nsINode::eELEMENT)) {