Bug 501073 - Remove debug addref loop that never should have been checked in r&sr=jonas

This commit is contained in:
Henri Sivonen
2009-06-29 15:26:35 +03:00
parent d1b9b23f4b
commit b4832d1de1
-3
View File
@@ -95,9 +95,6 @@ nsHtml5Module::NewHtml5Parser()
NS_ABORT_IF_FALSE(sNsHtml5ModuleInitialized, "nsHtml5Module not initialized.");
nsIParser* rv = static_cast<nsIParser*> (new nsHtml5Parser());
NS_ADDREF(rv);
for (PRInt32 i = 0; i < 1000; i++) {
NS_ADDREF(rv);
}
return rv;
}