зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1475139 part 5 - Only use external fonts with DrawEventRecorderMemory if we have a callback. r=jrmuizel
This was giving me some font assertion crashes, and changing this as a hunch fixed it. Differential Revision: https://phabricator.services.mozilla.com/D6784 --HG-- extra : rebase_source : 99bf039f33e314fb6f88ea283cf4cc575b054566
This commit is contained in:
Родитель
da61842307
Коммит
2af89b5ed4
|
@ -114,7 +114,7 @@ DrawEventRecorderMemory::DrawEventRecorderMemory()
|
|||
DrawEventRecorderMemory::DrawEventRecorderMemory(const SerializeResourcesFn &aFn) :
|
||||
mSerializeCallback(aFn)
|
||||
{
|
||||
mExternalFonts = true;
|
||||
mExternalFonts = !!mSerializeCallback;
|
||||
WriteHeader(mOutputStream);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче