Bug 1730537 - Downgrade a debug assertion in MRPIS code to non-fatal because it's too frequent locally. r=alwu

Differential Revision: https://phabricator.services.mozilla.com/D145964
This commit is contained in:
Paul Adenot 2022-05-11 11:28:15 +00:00
Родитель 49930eb984
Коммит fe8840f811
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -371,12 +371,12 @@ void MPRISServiceHandler::InitIdentity() {
}
const char* MPRISServiceHandler::Identity() const {
MOZ_ASSERT(mInitialized);
NS_WARNING_ASSERTION(mInitialized, "MPRISServiceHandler should have been initialized.");
return mIdentity.get();
}
const char* MPRISServiceHandler::DesktopEntry() const {
MOZ_ASSERT(mInitialized);
NS_WARNING_ASSERTION(mInitialized, "MPRISServiceHandler should have been initialized.");
return mDesktopEntry.get();
}