Bug 1448703 - follow-up - disambiguate unknown font from cleared all. r=me

This commit is contained in:
Lee Salzman 2018-04-26 11:38:09 -04:00
parent 63837b4686
commit ff6c421be0

View File

@ -89,7 +89,7 @@ static struct FontDeleteLog {
}
void AddAll() {
AddEntry(0);
AddEntry(~0);
}
// Find a matching entry in the log, searching backwards starting at the newest
@ -105,7 +105,7 @@ static struct FontDeleteLog {
return "deleted font";
} else if (mEntries[offset] == namespaceEntry) {
return "cleared namespace";
} else if (!mEntries[offset]) {
} else if (mEntries[offset] == ~0) {
return "cleared all";
}
} while (offset != mNextEntry);