mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
23 lines
669 B
Diff
23 lines
669 B
Diff
|
diff --git a/gfx/skia/src/core/SkDraw.cpp b/gfx/skia/src/core/SkDraw.cpp
|
||
|
--- a/gfx/skia/src/core/SkDraw.cpp
|
||
|
+++ b/gfx/skia/src/core/SkDraw.cpp
|
||
|
@@ -2529,17 +2529,17 @@ static bool compute_bounds(const SkPath&
|
||
|
|
||
|
// init our bounds from the path
|
||
|
{
|
||
|
SkRect pathBounds = devPath.getBounds();
|
||
|
pathBounds.inset(-SK_ScalarHalf, -SK_ScalarHalf);
|
||
|
pathBounds.roundOut(bounds);
|
||
|
}
|
||
|
|
||
|
- SkIPoint margin;
|
||
|
+ SkIPoint margin = SkIPoint::Make(0, 0);
|
||
|
if (filter) {
|
||
|
SkASSERT(filterMatrix);
|
||
|
|
||
|
SkMask srcM, dstM;
|
||
|
|
||
|
srcM.fBounds = *bounds;
|
||
|
srcM.fFormat = SkMask::kA8_Format;
|
||
|
srcM.fImage = NULL;
|