зеркало из https://github.com/mozilla/gecko-dev.git
bug #122011; random crashing bug in Macintosh Composer when user has edited page via browser; zero URLStruct's savedData as done for macfe printing and winfe Composer
This commit is contained in:
Родитель
19bb8ad4ac
Коммит
a5f969814c
|
@ -159,7 +159,11 @@ CEditorWindow* CEditorWindow::MakeEditWindow( MWContext* old_context, URL_Struct
|
||||||
{
|
{
|
||||||
url = SHIST_CreateURLStructFromHistoryEntry( old_context, entry );
|
url = SHIST_CreateURLStructFromHistoryEntry( old_context, entry );
|
||||||
if ( url )
|
if ( url )
|
||||||
|
{
|
||||||
url->force_reload = NET_NORMAL_RELOAD;
|
url->force_reload = NET_NORMAL_RELOAD;
|
||||||
|
|
||||||
|
XP_MEMSET( &url->savedData, 0, sizeof( SHIST_SavedData ) );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// if we don't have a history entry, we're kind of screwed-->just load a blank page
|
// if we don't have a history entry, we're kind of screwed-->just load a blank page
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче