From c7f6102c9c08415e58f31ac17e75af5382a516ce Mon Sep 17 00:00:00 2001 From: Karl Tomlinson Date: Wed, 27 Oct 2021 05:23:18 +0000 Subject: [PATCH] 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 --- dom/media/MediaManager.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/dom/media/MediaManager.cpp b/dom/media/MediaManager.cpp index 4bd188776660..f004cd1118bf 100644 --- a/dom/media/MediaManager.cpp +++ b/dom/media/MediaManager.cpp @@ -80,14 +80,6 @@ # include "mozilla/WindowsVersion.h" #endif -// XXX Workaround for bug 986974 to maintain the existing broken semantics -template <> -struct nsIMediaDevice::COMTypeInfo { - static const nsIID kIID; -}; -const nsIID nsIMediaDevice::COMTypeInfo::kIID = - NS_IMEDIADEVICE_IID; - // A specialization of nsMainThreadPtrHolder for // mozilla::dom::CallbackObjectHolder. See documentation for // nsMainThreadPtrHolder in nsProxyRelease.h. This specialization lets us avoid