hack part deux for testing for leak increase

git-svn-id: svn://10.0.0.236/trunk@75856 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
saari%netscape.com
2000-08-09 02:59:44 +00:00
parent 1e041a9cfc
commit ce8255995f
4 changed files with 4 additions and 8 deletions

View File

@@ -1938,7 +1938,7 @@ nsHTMLDocument::OpenCommon(nsIURI* aSourceURL)
result = NS_OpenURI(getter_AddRefs(channel), aSourceURL, nsnull, group);
if (NS_FAILED(result)) return result;
/*
//Before we reset the doc notify the globalwindow of the change.
if (mScriptGlobalObject) {
//Hold onto ourselves on the offchance that we're down to one ref
@@ -1946,7 +1946,7 @@ nsHTMLDocument::OpenCommon(nsIURI* aSourceURL)
result = mScriptGlobalObject->SetNewDocument(kungFuDeathGrip);
if (NS_FAILED(result)) return result;
}
*/
result = Reset(channel, group);
if (NS_FAILED(result)) return result;
if (NS_OK == result) {