diff options
author | robertphillips <robertphillips@google.com> | 2015-01-05 10:13:46 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-05 10:13:46 -0800 |
commit | 91b0a3587342c48a1a6e1c4687686688737359da (patch) | |
tree | a315e268dae57ee07a83fa533b7818da096b3bcf /src | |
parent | 40c85e41b8be96f47f03a34bb2938696037afad4 (diff) |
Cleanup isRect variants
Review URL: https://codereview.chromium.org/832083002
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkPath.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp index 27b7283263..9231d8bf8a 100644 --- a/src/core/SkPath.cpp +++ b/src/core/SkPath.cpp @@ -531,7 +531,7 @@ SkPath::PathAsRect SkPath::asRect(Direction* direction) const { SK_COMPILE_ASSERT(1 == kFill_PathAsRect, path_as_rect_mismatch); SK_COMPILE_ASSERT(2 == kStroke_PathAsRect, path_as_rect_mismatch); bool isClosed = false; - return (PathAsRect) (isRect(&isClosed, direction) + isClosed); + return (PathAsRect) (this->isRect(NULL, &isClosed, direction) + isClosed); } bool SkPath::isRect(SkRect* rect, bool* isClosed, Direction* direction) const { |