Bug 986974 remove unused support for QueryObject to MediaDevice r=jib

This has been unnecessary since the `nsIMediaDevice` intermediate pointer type
was removed in https://hg.mozilla.org/mozilla-central/rev/d48c270e62c9#l1.197.

Differential Revision: https://phabricator.services.mozilla.com/D128850
This commit is contained in:
Karl Tomlinson 2021-10-27 05:23:18 +00:00
parent 8d46d339ac
commit c7f6102c9c

View File

@ -80,14 +80,6 @@
# include "mozilla/WindowsVersion.h"
#endif
// XXX Workaround for bug 986974 to maintain the existing broken semantics
template <>
struct nsIMediaDevice::COMTypeInfo<mozilla::MediaDevice, void> {
static const nsIID kIID;
};
const nsIID nsIMediaDevice::COMTypeInfo<mozilla::MediaDevice, void>::kIID =
NS_IMEDIADEVICE_IID;
// A specialization of nsMainThreadPtrHolder for
// mozilla::dom::CallbackObjectHolder. See documentation for
// nsMainThreadPtrHolder in nsProxyRelease.h. This specialization lets us avoid