зеркало из https://github.com/mozilla/gecko-dev.git
fix for #15578, r=mscott, a=granrose, fix crash on startup.
not sure why we don't have a webshell here...
This commit is contained in:
Родитель
1ac6e0f8b1
Коммит
5b2cb149d2
|
@ -451,7 +451,9 @@ nsMessenger::OpenURL(const char * url)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
nsString urlStr(unescapedUrl);
|
nsString urlStr(unescapedUrl);
|
||||||
mWebShell->LoadURL(urlStr.GetUnicode());
|
if (mWebShell) {
|
||||||
|
mWebShell->LoadURL(urlStr.GetUnicode());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
PL_strfree(unescapedUrl);
|
PL_strfree(unescapedUrl);
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче