From 6cc8784bf6657a5c926292864544ff40741ba77c Mon Sep 17 00:00:00 2001 From: Karl Tomlinson Date: Mon, 9 Nov 2020 23:33:55 +0000 Subject: [PATCH] Bug 1213512 remove unused MediaStreamError constructor r=jib Depends on D95965 Differential Revision: https://phabricator.services.mozilla.com/D95966 --- dom/media/MediaStreamError.cpp | 5 ----- dom/media/MediaStreamError.h | 4 ---- 2 files changed, 9 deletions(-) diff --git a/dom/media/MediaStreamError.cpp b/dom/media/MediaStreamError.cpp index 1eecc5314e64..a502a6de2c5a 100644 --- a/dom/media/MediaStreamError.cpp +++ b/dom/media/MediaStreamError.cpp @@ -49,11 +49,6 @@ NS_IMPL_ISUPPORTS0(MediaMgrError) namespace dom { -MediaStreamError::MediaStreamError(nsPIDOMWindowInner* aParent, Name aName, - const nsAString& aMessage, - const nsAString& aConstraint) - : BaseMediaMgrError(aName, aMessage, aConstraint), mParent(aParent) {} - NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE(MediaStreamError, mParent) NS_IMPL_CYCLE_COLLECTING_ADDREF(MediaStreamError) NS_IMPL_CYCLE_COLLECTING_RELEASE(MediaStreamError) diff --git a/dom/media/MediaStreamError.h b/dom/media/MediaStreamError.h index f9ebe0f1a106..8a4240d12505 100644 --- a/dom/media/MediaStreamError.h +++ b/dom/media/MediaStreamError.h @@ -76,10 +76,6 @@ class MediaStreamError final : public nsISupports, public BaseMediaMgrError, public nsWrapperCache { public: - MediaStreamError(nsPIDOMWindowInner* aParent, Name aName, - const nsAString& aMessage = u""_ns, - const nsAString& aConstraint = u""_ns); - MediaStreamError(nsPIDOMWindowInner* aParent, const BaseMediaMgrError& aOther) : BaseMediaMgrError(aOther.mName, aOther.mMessage, aOther.mConstraint), mParent(aParent) {}