forked from mirrors/gecko-dev
Bug 1872834 - Add missing null check to FilePickerParent::RecvClose. r=canadahonk
Differential Revision: https://phabricator.services.mozilla.com/D197571
This commit is contained in:
parent
b158ada37d
commit
b2c04d7a4f
1 changed files with 3 additions and 1 deletions
|
|
@ -282,7 +282,9 @@ mozilla::ipc::IPCResult FilePickerParent::RecvOpen(
|
|||
}
|
||||
|
||||
mozilla::ipc::IPCResult FilePickerParent::RecvClose() {
|
||||
if (mFilePicker) {
|
||||
mFilePicker->Close();
|
||||
}
|
||||
return IPC_OK();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue