aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/lua
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2015-04-08 08:34:15 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-08 08:34:15 -0700
commit95bc5f349561fef2d6fbae71adb08cf5c2eec0c9 (patch)
tree997d651f63e2aba803e7494852b72a9042a7eba6 /tools/lua
parent929f63feccf500283571077586dbbd69c206bf13 (diff)
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
Diffstat (limited to 'tools/lua')
-rw-r--r--tools/lua/scrape.lua2
1 files changed, 1 insertions, 1 deletions
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)