From 95bc5f349561fef2d6fbae71adb08cf5c2eec0c9 Mon Sep 17 00:00:00 2001 From: caryclark Date: Wed, 8 Apr 2015 08:34:15 -0700 Subject: change isNestedRect to isNestedFillRect R=reed@google.com, bsalomon@google.com Let isNested(Fill)Rect return true if drawn path describes filled rectangles. Review URL: https://codereview.chromium.org/1073473002 --- tools/lua/scrape.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/lua') diff --git a/tools/lua/scrape.lua b/tools/lua/scrape.lua index 627018800a..4f4adbf3db 100644 --- a/tools/lua/scrape.lua +++ b/tools/lua/scrape.lua @@ -59,7 +59,7 @@ function sk_scrape_accumulate(t) end if false and t.verb == "drawPath" then - local pred, r1, r2, d1, d2 = t.path:isNestedRects() + local pred, r1, r2, d1, d2 = t.path:isNestedFillRects() if pred then print("drawRect_Nested", tostr(r1), tostr(r2), d1, d2) -- cgit v1.2.3