mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 777614 - Update skia-npapi to work with the new Skia rebase. r=nrc
This commit is contained in:
parent
4fd0e54d2d
commit
1e7f962305
@ -79,8 +79,7 @@ static void anp_getTotalMatrix(ANPCanvas* canvas, ANPMatrix* matrix) {
|
||||
static bool anp_getLocalClipBounds(ANPCanvas* canvas, ANPRectF* r,
|
||||
bool antialias) {
|
||||
SkRect bounds;
|
||||
if (canvas->skcanvas->getClipBounds(&bounds,
|
||||
antialias ? SkCanvas::kAA_EdgeType : SkCanvas::kBW_EdgeType)) {
|
||||
if (canvas->skcanvas->getClipBounds(&bounds)) {
|
||||
SkANP::SetRect(r, bounds);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user