commit | 3c2d09f89ae119de506722f550a6e28305d4813f | [log] [tgz] |
---|---|---|
author | Mike Reed <reed@google.com> | Mon Aug 28 13:32:37 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Aug 28 17:54:06 2017 +0000 |
tree | 15ec5a80e6d3292bef61fea74d8fedf4b8790309 | |
parent | de67a2c0e01a68ca8bb3a569947f8e33350f31f7 [diff] |
change SkRect::growToInclude to take a point instead of x,y This avoids the dangerous overload problem of growToInclude(0, 0) matching to (const SkPoint[], count) rather than growToInclude(x, y) Bug: skia: Change-Id: Iaba8b1a579638ff363fde62e4e3004052dd2b2ac Reviewed-on: https://skia-review.googlesource.com/39501 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Mike Reed <reed@google.com>