mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 989707 - roundOut() the bounds rect instead of round(), as round() can return a rect that's not quite large enough to cover the path r=mattwoodrow
This commit is contained in:
parent
4432156f43
commit
1ee369cbfc
@ -602,7 +602,7 @@ void SkScan::FillPath(const SkPath& path, const SkRegion& origClip,
|
||||
// don't reference "origClip" any more, just use clipPtr
|
||||
|
||||
SkIRect ir;
|
||||
path.getBounds().round(&ir);
|
||||
path.getBounds().roundOut(&ir);
|
||||
if (ir.isEmpty()) {
|
||||
if (path.isInverseFillType()) {
|
||||
blitter->blitRegion(*clipPtr);
|
||||
|
Loading…
Reference in New Issue
Block a user