diff options
author | Yuqian Li <liyuqian@google.com> | 2017-07-14 10:21:42 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-07-14 14:51:34 +0000 |
commit | 148cf8813a2ac62242d23b5098a7707a7c37f9dc (patch) | |
tree | 3b735ce069b6f0027397b58dc1e082cb58b4f5af /src | |
parent | 6e1cbc012b10e99d9caed19eef43939778d1d8ff (diff) |
Remove SK_SUPPORT_LEGACY_RECT flag
The rebaseline has finished in Chromium.
Bug: skia:
Change-Id: Ibafb32b3683f1bfc3e451911e6fb8382bfc9b857
Reviewed-on: https://skia-review.googlesource.com/23481
Reviewed-by: Cary Clark <caryclark@google.com>
Commit-Queue: Yuqian Li <liyuqian@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkScan_AntiPath.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/SkScan_AntiPath.cpp b/src/core/SkScan_AntiPath.cpp index 093de43403..69b5ba1fce 100644 --- a/src/core/SkScan_AntiPath.cpp +++ b/src/core/SkScan_AntiPath.cpp @@ -638,11 +638,9 @@ static bool suitableForAAA(const SkPath& path) { if (gSkForceAnalyticAA.load()) { return true; } -#ifndef SK_SUPPORT_LEGACY_RECT if (path.isRect(nullptr)) { return true; } -#endif const SkRect& bounds = path.getBounds(); // When the path have so many points compared to the size of its bounds/resolution, // it indicates that the path is not quite smooth in the current resolution: |