зеркало из https://github.com/mozilla/pjs.git
Bug 568791 rename NS_IHELPERAPPLAUNCHERDLG_CONTRACTID to NS_HELPERAPPLAUNCHERDLG_CONTRACTID
r=biesi --HG-- extra : rebase_source : 114b7594d401cd8f02c0b763f9186e9796e23c65
This commit is contained in:
Родитель
b57ff6b826
Коммит
15cf63f6c5
|
@ -1609,7 +1609,7 @@ NS_IMETHODIMP nsExternalAppHandler::OnStartRequest(nsIRequest *request, nsISuppo
|
|||
mReceivedDispositionInfo = PR_FALSE;
|
||||
|
||||
// invoke the dialog!!!!! use mWindowContext as the window context parameter for the dialog request
|
||||
mDialog = do_CreateInstance( NS_IHELPERAPPLAUNCHERDLG_CONTRACTID, &rv );
|
||||
mDialog = do_CreateInstance( NS_HELPERAPPLAUNCHERDLG_CONTRACTID, &rv );
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
// this will create a reference cycle (the dialog holds a reference to us as
|
||||
|
@ -2032,7 +2032,7 @@ nsresult nsExternalAppHandler::PromptForSaveToFile(nsILocalFile ** aNewFile, con
|
|||
if (!mDialog)
|
||||
{
|
||||
// Get helper app launcher dialog.
|
||||
mDialog = do_CreateInstance( NS_IHELPERAPPLAUNCHERDLG_CONTRACTID, &rv );
|
||||
mDialog = do_CreateInstance( NS_HELPERAPPLAUNCHERDLG_CONTRACTID, &rv );
|
||||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
}
|
||||
|
||||
|
|
|
@ -115,6 +115,6 @@ interface nsIHelperAppLauncherDialog : nsISupports {
|
|||
|
||||
|
||||
%{C++
|
||||
#define NS_IHELPERAPPLAUNCHERDLG_CONTRACTID "@mozilla.org/helperapplauncherdialog;1"
|
||||
#define NS_HELPERAPPLAUNCHERDLG_CONTRACTID "@mozilla.org/helperapplauncherdialog;1"
|
||||
#define NS_IHELPERAPPLAUNCHERDLG_CLASSNAME "Mozilla Helper App Launcher Confirmation Dialog"
|
||||
%}
|
||||
|
|
Загрузка…
Ссылка в новой задаче