summaryrefslogtreecommitdiff
path: root/xpcom
diff options
context:
space:
mode:
authorJob Bautista <jobbautista9@protonmail.com>2022-07-30 13:24:40 +0800
committerJob Bautista <jobbautista9@protonmail.com>2022-07-30 13:24:40 +0800
commitfad8235ad2a02f3cd1cd50ec677377990642b47b (patch)
treefb3d74cd51928dd9c22a3f38669488d4f1a07ac3 /xpcom
parent32c8246e1615dcf1dbcf775141ee044def649ae7 (diff)
downloaduxp-fad8235ad2a02f3cd1cd50ec677377990642b47b.tar.gz
Issue #1980 - Fix build bustage for applications where WebRTC building is enabled.
Turns out we have a duplicate VoidFunction callback in the WebIDLs. Per Mozilla bug 1324169, we should remove this callback from RTCPeerConnection.webidl and let Function.webidl handle it instead. The AttributeError faced by the new Basilisk dev wasn't helpful at all; and turns out Mozilla had this exact same issue on bug 1505504. We're also backporting that just in case we encounter another case of callback duplication. Also doing a minor fix in the MicroTaskRunnable class which Moonchild forgot to do while working on Issue #1895.
Diffstat (limited to 'xpcom')
-rw-r--r--xpcom/base/CycleCollectedJSContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xpcom/base/CycleCollectedJSContext.h b/xpcom/base/CycleCollectedJSContext.h
index 914bb95d30..366a1ea3bb 100644
--- a/xpcom/base/CycleCollectedJSContext.h
+++ b/xpcom/base/CycleCollectedJSContext.h
@@ -142,7 +142,7 @@ public:
virtual void Run(AutoSlowOperation& aAso) = 0;
virtual bool Suppressed() { return false; }
protected:
- virtual ~MicroTaskRunnable() {}
+ virtual ~MicroTaskRunnable() = default;
};
class CycleCollectedJSContext