summaryrefslogtreecommitdiff
path: root/dom/ipc/FilePickerParent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/ipc/FilePickerParent.cpp')
-rw-r--r--dom/ipc/FilePickerParent.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/dom/ipc/FilePickerParent.cpp b/dom/ipc/FilePickerParent.cpp
index 1438e374fe..0271890758 100644
--- a/dom/ipc/FilePickerParent.cpp
+++ b/dom/ipc/FilePickerParent.cpp
@@ -286,6 +286,7 @@ FilePickerParent::RecvOpen(const int16_t& aSelectedType,
}
}
+ MOZ_ASSERT(!mCallback);
mCallback = new FilePickerShownCallback(this);
mFilePicker->Open(mCallback);