mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
Bug 1278972. Properly compare rect height vs stroke height when filling rect with skia without AA. r=lsalzman
This commit is contained in:
parent
3c16b7f128
commit
3624359847
@ -628,7 +628,7 @@ void SkScan::FrameRect(const SkRect& r, const SkPoint& strokeSize,
|
||||
outer.set(r.fLeft - rx, r.fTop - ry,
|
||||
r.fRight + rx, r.fBottom + ry);
|
||||
|
||||
if (r.width() <= dx || r.height() <= dx) {
|
||||
if (r.width() <= dx || r.height() <= dy) {
|
||||
SkScan::FillRect(outer, clip, blitter);
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user