mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 08:48:39 +09:00
Revert "[DOM] Make IORunnable::mFilePickerParent into a RefPtr."
This reverts commit 0359d8a9e7.
This commit is contained in:
parent
adbf75c56c
commit
a3e6917887
2 changed files with 2 additions and 3 deletions
|
|
@ -286,7 +286,6 @@ FilePickerParent::RecvOpen(const int16_t& aSelectedType,
|
|||
}
|
||||
}
|
||||
|
||||
MOZ_ASSERT(!mCallback);
|
||||
mCallback = new FilePickerShownCallback(this);
|
||||
|
||||
mFilePicker->Open(mCallback);
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ class FilePickerParent : public PFilePickerParent
|
|||
|
||||
private:
|
||||
virtual ~FilePickerShownCallback() {}
|
||||
RefPtr<FilePickerParent> mFilePickerParent;
|
||||
FilePickerParent* mFilePickerParent;
|
||||
};
|
||||
|
||||
private:
|
||||
|
|
@ -78,7 +78,7 @@ class FilePickerParent : public PFilePickerParent
|
|||
// This runnable is used to do some I/O operation on a separate thread.
|
||||
class IORunnable : public Runnable
|
||||
{
|
||||
RefPtr<FilePickerParent> mFilePickerParent;
|
||||
FilePickerParent* mFilePickerParent;
|
||||
nsTArray<nsCOMPtr<nsIFile>> mFiles;
|
||||
nsTArray<BlobImplOrString> mResults;
|
||||
nsCOMPtr<nsIEventTarget> mEventTarget;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue