Bug 1661531 - Ensure we always update the gfx feature failure reason. r=kats

Differential Revision: https://phabricator.services.mozilla.com/D88454
This commit is contained in:
Andrew Osmond 2020-08-27 17:04:27 +00:00
parent 403893bc7e
commit 9804b7b693

View File

@ -221,9 +221,7 @@ void FeatureState::ForEachStatusChange(
}
void FeatureState::SetFailureId(const nsACString& aFailureId) {
if (mFailureId.IsEmpty()) {
mFailureId = aFailureId;
}
mFailureId = aFailureId;
}
const char* FeatureState::GetFailureMessage() const {