Commit f50f6051 authored by Tatiana Meshkova's avatar Tatiana Meshkova

Fixed ASSERTION: QueryInterface needed: 'query_result.get() == mRawPtr issue

parent 1508c5df
......@@ -18,7 +18,7 @@
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsEmbedFilePicker, nsIFilePicker)
NS_IMPL_ISUPPORTS2(nsEmbedFilePicker, nsIFilePicker, nsIEmbedMessageListener)
nsEmbedFilePicker::nsEmbedFilePicker()
{
......
......@@ -31,13 +31,13 @@ class nsEmbedFilePicker : public nsIFilePicker, public nsIEmbedMessageListener
{
public:
nsEmbedFilePicker();
virtual ~nsEmbedFilePicker();
NS_DECL_ISUPPORTS
NS_DECL_NSIFILEPICKER
NS_DECL_NSIEMBEDMESSAGELISTENER
private:
~nsEmbedFilePicker();
nsresult DoSendPrompt();
EmbedFilePickerResponse GetResponse();
int mModalDepth;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment