mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Bug 1448703 - follow-up - disambiguate unknown font from cleared all. r=me
This commit is contained in:
parent
63837b4686
commit
ff6c421be0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user