diff options
-rw-r--r-- | embed/mozilla/FilePicker.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/embed/mozilla/FilePicker.cpp b/embed/mozilla/FilePicker.cpp index 6850b8e34..a35912809 100644 --- a/embed/mozilla/FilePicker.cpp +++ b/embed/mozilla/FilePicker.cpp @@ -357,8 +357,13 @@ NS_IMETHODIMP GFilePicker::GetFile(nsILocalFile **aFile) return NS_OK; } +#ifdef HAVE_GECKO_1_9 +/* readonly attribute nsIURI fileURL; */ +NS_IMETHODIMP GFilePicker::GetFileURL(nsIURI **aFileURL) +#else /* readonly attribute nsIFileURL fileURL; */ NS_IMETHODIMP GFilePicker::GetFileURL(nsIFileURL **aFileURL) +#endif { NS_ENSURE_TRUE (mDialog, NS_ERROR_FAILURE); |