Bug 1730145: Remove Navigator::RefreshMIMEArray r=saschanaz

Differential Revision: https://phabricator.services.mozilla.com/D130904
This commit is contained in:
Neel Chauhan 2021-11-11 20:33:19 +00:00
Родитель dfe3d21044
Коммит 56d64a1e93
3 изменённых файлов: 0 добавлений и 10 удалений

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

@ -648,12 +648,6 @@ uint64_t Navigator::HardwareConcurrency() {
return rts->ClampedHardwareConcurrency();
}
void Navigator::RefreshMIMEArray() {
if (mMimeTypes) {
mMimeTypes->Refresh();
}
}
namespace {
class VibrateWindowListener : public nsIDOMEventListener {

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

@ -96,8 +96,6 @@ class Navigator final : public nsISupports, public nsWrapperCache {
void Invalidate();
nsPIDOMWindowInner* GetWindow() const { return mWindow; }
void RefreshMIMEArray();
size_t SizeOfIncludingThis(mozilla::MallocSizeOf aMallocSizeOf) const;
/**

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

@ -34,8 +34,6 @@ class nsMimeTypeArray final : public nsISupports, public nsWrapperCache {
virtual JSObject* WrapObject(JSContext* aCx,
JS::Handle<JSObject*> aGivenProto) override;
void Refresh() {}
// MimeTypeArray WebIDL methods
nsMimeType* Item(uint32_t index, mozilla::dom::CallerType aCallerType) {
return nullptr;