summaryrefslogtreecommitdiffstats
path: root/dom/fetch/Request.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-07-25 17:31:58 +0000
committerMoonchild <moonchild@palemoon.org>2020-07-28 10:38:16 +0000
commitad5e9449d2ec885ce547ed44ac3be066de803784 (patch)
tree92e8e036fb6d47ef838d27c658b3f49c47ab0cf2 /dom/fetch/Request.cpp
parent71848c23a4d09bbb7eff1b27d2cb28904e35240d (diff)
downloadUXP-ad5e9449d2ec885ce547ed44ac3be066de803784.tar
UXP-ad5e9449d2ec885ce547ed44ac3be066de803784.tar.gz
UXP-ad5e9449d2ec885ce547ed44ac3be066de803784.tar.lz
UXP-ad5e9449d2ec885ce547ed44ac3be066de803784.tar.xz
UXP-ad5e9449d2ec885ce547ed44ac3be066de803784.zip
Issue #1587 Part 12 (followup 2): Allow clearing of signal by setting to null.
Diffstat (limited to 'dom/fetch/Request.cpp')
-rw-r--r--dom/fetch/Request.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/fetch/Request.cpp b/dom/fetch/Request.cpp
index ba268d331..76f3ce5c5 100644
--- a/dom/fetch/Request.cpp
+++ b/dom/fetch/Request.cpp
@@ -425,7 +425,7 @@ Request::Constructor(const GlobalObject& aGlobal,
}
if (aInit.mSignal.WasPassed()) {
- signal = &aInit.mSignal.Value();
+ signal = aInit.mSignal.Value();
}
if (NS_IsMainThread()) {