Fixed a memory leak of the web shell in LoadURL()
git-svn-id: svn://10.0.0.236/trunk@18412 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user