diff --git a/dom/usb/USBBackendWin.cpp b/dom/usb/USBBackendWin.cpp index a696756803..f578d808cb 100644 --- a/dom/usb/USBBackendWin.cpp +++ b/dom/usb/USBBackendWin.cpp @@ -32,8 +32,6 @@ public: { } - NS_DECL_ISUPPORTS - nsresult Open() override { if (mPath.IsEmpty()) { diff --git a/dom/usb/USBDevice.cpp b/dom/usb/USBDevice.cpp index 34eb841e95..74366062bd 100644 --- a/dom/usb/USBDevice.cpp +++ b/dom/usb/USBDevice.cpp @@ -80,7 +80,7 @@ CopyTransferData(const ArrayBufferViewOrArrayBuffer& aData, } // anonymous namespace NS_IMPL_CYCLE_COLLECTION_INHERITED(USBDevice, DOMEventTargetHelper, - mHandle, mConfiguration, mConfigurations) + mConfiguration, mConfigurations) NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(USBDevice) NS_INTERFACE_MAP_END_INHERITING(DOMEventTargetHelper)