Bug 1213512 remove unused MediaStreamError constructor r=jib

Depends on D95965

Differential Revision: https://phabricator.services.mozilla.com/D95966
This commit is contained in:
Karl Tomlinson 2020-11-09 23:33:55 +00:00
Родитель 500c6eba65
Коммит 6cc8784bf6
2 изменённых файлов: 0 добавлений и 9 удалений

Просмотреть файл

@ -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)

Просмотреть файл

@ -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) {}