зеркало из https://github.com/mozilla/gecko-dev.git
Include nsIDiskDocument to fix windows build.
This commit is contained in:
Родитель
4b6091ab16
Коммит
984b38ccfb
|
@ -37,7 +37,7 @@
|
|||
#include "PropertyDlg.h"
|
||||
|
||||
#include "nsCWebBrowser.h"
|
||||
#include "nsFileSpec.h"
|
||||
#include "nsIDiskDocument.h"
|
||||
#include "nsILocalFile.h"
|
||||
#include "nsIContentViewerFile.h"
|
||||
#include "nsISelectionController.h"
|
||||
|
@ -523,7 +523,7 @@ LRESULT CMozillaBrowser::OnSaveAs(WORD wNotifyCode, WORD wID, HWND hWndCtl, BOOL
|
|||
return E_NOINTERFACE;
|
||||
}
|
||||
|
||||
// Create an nsFilelSpec from the selected file path.
|
||||
// Create an nsILocalFile from the selected file path.
|
||||
nsCOMPtr<nsILocalFile> theFile(do_CreateInstance(NS_LOCAL_FILE_CONTRACTID, &hr);
|
||||
if (FAILED(hr))
|
||||
return hr;
|
||||
|
|
Загрузка…
Ссылка в новой задаче