mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1251241 - return from DrawTargetCairo::FillGlyphs if |aFont| is nullptr. r=roc
MozReview-Commit-ID: 56RQO8Fm2AP
This commit is contained in:
parent
e976e965ef
commit
0803034b34
@ -1290,6 +1290,7 @@ DrawTargetCairo::FillGlyphs(ScaledFont *aFont,
|
||||
|
||||
if (!aFont) {
|
||||
gfxDevCrash(LogReason::InvalidFont) << "Invalid scaled font";
|
||||
return;
|
||||
}
|
||||
|
||||
AutoPrepareForDrawing prep(this, mContext);
|
||||
|
Loading…
Reference in New Issue
Block a user