Fixed a memory leak of the web shell in LoadURL()

This commit is contained in:
troy%netscape.com 1999-01-23 04:16:18 +00:00
parent b7fad535ab
commit 6810e3ae38
2 changed files with 0 additions and 6 deletions

View File

@ -1232,9 +1232,6 @@ nsWebShell::LoadURL(const PRUnichar *aURLSpec,
{
// if this is the top level web shell, initialize some things, in case the
// web shell is being recycled
nsIWebShell *rootWebShell;
GetRootWebShell(rootWebShell);
//if (this == rootWebShell) {
if (!mIsFrame) {
InitFrameData();
}

View File

@ -1232,9 +1232,6 @@ nsWebShell::LoadURL(const PRUnichar *aURLSpec,
{
// if this is the top level web shell, initialize some things, in case the
// web shell is being recycled
nsIWebShell *rootWebShell;
GetRootWebShell(rootWebShell);
//if (this == rootWebShell) {
if (!mIsFrame) {
InitFrameData();
}