Bug 777614 - Update skia-npapi to work with the new Skia rebase. r=nrc

This commit is contained in:
George Wright 2012-08-23 15:22:34 -04:00
parent 4fd0e54d2d
commit 1e7f962305

View File

@ -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;
}