зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1730145: Remove Navigator::RefreshMIMEArray r=saschanaz
Differential Revision: https://phabricator.services.mozilla.com/D130904
This commit is contained in:
Родитель
dfe3d21044
Коммит
56d64a1e93
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче