Fixed a memory leak of the web shell in LoadURL()
This commit is contained in:
Родитель
4aa2d8dda4
Коммит
c2564fa2ce
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче