From 1e7f962305f4cf9067d8dae12aeeefed6956d1bd Mon Sep 17 00:00:00 2001 From: George Wright Date: Thu, 23 Aug 2012 15:22:34 -0400 Subject: [PATCH] Bug 777614 - Update skia-npapi to work with the new Skia rebase. r=nrc --- other-licenses/skia-npapi/ANPCanvas.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/other-licenses/skia-npapi/ANPCanvas.cpp b/other-licenses/skia-npapi/ANPCanvas.cpp index ce7eb56a47a..f3f3dfbfd2c 100644 --- a/other-licenses/skia-npapi/ANPCanvas.cpp +++ b/other-licenses/skia-npapi/ANPCanvas.cpp @@ -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; }