summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-09-01 09:54:03 +0200
committerMoonchild <moonchild@palemoon.org>2023-09-01 09:54:03 +0200
commitee97a5dad40fb8d207b717cb2a0d487f54dd5f1d (patch)
treec6023db91bfadaa8e1d7c4c12d90ad63bf810454
parent7a4b8501505e9ed433db0b5a675bc38398b74bb8 (diff)
downloaduxp-ee97a5dad40fb8d207b717cb2a0d487f54dd5f1d.tar.gz
[DOM] Follow-up: fix refcounting in FilePickerParent.
-rw-r--r--dom/ipc/FilePickerParent.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dom/ipc/FilePickerParent.h b/dom/ipc/FilePickerParent.h
index 7ab2f7dab1..89c472cb8a 100644
--- a/dom/ipc/FilePickerParent.h
+++ b/dom/ipc/FilePickerParent.h
@@ -27,8 +27,12 @@ class FilePickerParent : public PFilePickerParent
, mMode(aMode)
{}
+ private:
virtual ~FilePickerParent();
+ public:
+ NS_INLINE_DECL_REFCOUNTING(FilePickerParent)
+
void Done(int16_t aResult);
struct BlobImplOrString