From d252db03d9650013b545ef9781fe993c07f8f314 Mon Sep 17 00:00:00 2001 From: "reed@android.com" Date: Wed, 1 Apr 2009 18:31:44 +0000 Subject: API change: SkPath computeBounds -> getBounds git-svn-id: http://skia.googlecode.com/svn/trunk@140 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/core/SkScan_AntiPath.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/core/SkScan_AntiPath.cpp') diff --git a/src/core/SkScan_AntiPath.cpp b/src/core/SkScan_AntiPath.cpp index 422d060255..f2f117a35f 100644 --- a/src/core/SkScan_AntiPath.cpp +++ b/src/core/SkScan_AntiPath.cpp @@ -350,11 +350,8 @@ void SkScan::AntiFillPath(const SkPath& path, const SkRegion& clip, return; } - SkRect r; - SkIRect ir; - - path.computeBounds(&r, SkPath::kFast_BoundsType); - r.roundOut(&ir); + SkIRect ir; + path.getBounds().roundOut(&ir); if (ir.isEmpty()) { return; } -- cgit v1.2.3