From 57020c1f5923b8e76b59ccc01cfaeab0dc8cbe75 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Fri, 1 Sep 2023 09:54:03 +0200 Subject: [PATCH] [DOM] Follow-up: fix refcounting in FilePickerParent. --- dom/ipc/FilePickerParent.h | 4 ++++ 1 file changed, 4 insertions(+) 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