diff options
author | Cary Clark <caryclark@google.com> | 2016-10-05 08:51:39 -0400 |
---|---|---|
committer | Cary Clark <caryclark@google.com> | 2016-10-05 12:54:39 +0000 |
commit | e47ae2998c1cf944db5743a416583dd0f042b6d9 (patch) | |
tree | dc6e9f060ffe9cfcc6035f8ab8fa9f10c043ac22 /src/pathops/SkOpAngle.cpp | |
parent | 85a45d93ed6f299d09b17ae55c5d74242af4b11c (diff) |
remove dead code
Use code coverage and a new '-c' flag to find
and remove unneeded code.
TBR=reed@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2397593002
patch from issue 2397593002 at patchset 1 (http://crrev.com/2397593002#ps1)
Change-Id: I741a82de9191146c10457d4c0b9cb9605dff2069
Reviewed-on: https://skia-review.googlesource.com/2983
Reviewed-by: Cary Clark <caryclark@google.com>
Diffstat (limited to 'src/pathops/SkOpAngle.cpp')
-rw-r--r-- | src/pathops/SkOpAngle.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/pathops/SkOpAngle.cpp b/src/pathops/SkOpAngle.cpp index 09f015c287..820b5dceee 100644 --- a/src/pathops/SkOpAngle.cpp +++ b/src/pathops/SkOpAngle.cpp @@ -635,17 +635,6 @@ void SkOpAngle::insert(SkOpAngle* angle) { } last = next; next = next->fNext; - if (last == this) { - if (next->fUnorderable) { - fUnorderable = true; - } else { - globalState()->setAngleCoincidence(); - this->fNext = angle; - angle->fNext = next; - angle->fCheckCoincidence = true; - } - return; - } } while (true); } |