From f839b9ebca7ec2b32ef8e59806be54a919eb3322 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 14 Mar 2008 16:39:43 +0000 Subject: Fix the build with 1.9b4. svn path=/trunk/; revision=8108 --- embed/mozilla/FilePicker.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'embed/mozilla') 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); -- cgit v1.2.3