Fix #133319 - Passing NULL for clientData parameter for NavServices dialogs not a good idea since it's supposed to be self. r=bnesse, a=smoketestblocker

This commit is contained in:
sdagley%netscape.com 2002-03-25 20:49:06 +00:00
Родитель 17ed6ca7ca
Коммит 3493794af6
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -382,7 +382,7 @@ nsFilePicker::GetLocalFile(const nsString & inTitle, /* filter list here later *
eventProc,
NULL, // NavPreviewUPP
mFilters.Count() ? filterProc : NULL,
NULL, // inClientData
this, // inClientData
&dialog);
if (anErr == noErr) {
nsWatchTask::GetTask().Suspend();
@ -472,7 +472,7 @@ nsFilePicker::GetLocalFolder(const nsString & inTitle, FSSpec* outSpec)
&dialogCreateOptions,
eventProc,
NULL, // filter proc
NULL, // inClientData
this, // inClientData
&dialog);
if (anErr == noErr) {
@ -749,7 +749,7 @@ nsFilePicker::GetLocalFolder(const nsString & inTitle, FSSpec* outSpec)
&dialogOptions,
eventProc,
NULL, // filter proc
NULL); // callbackUD
this); // callbackUD
nsWatchTask::GetTask().Resume();
// See if the user has selected save