зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1213512 remove unused MediaStreamError constructor r=jib
Depends on D95965 Differential Revision: https://phabricator.services.mozilla.com/D95966
This commit is contained in:
Родитель
500c6eba65
Коммит
6cc8784bf6
|
@ -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) {}
|
||||
|
|
Загрузка…
Ссылка в новой задаче