diff options
author | sylvestre.ledru <sylvestre.ledru@gmail.com> | 2016-11-07 09:12:05 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-07 09:12:06 -0800 |
commit | 09c85a53c370325d4e8646e34be7684728a1f375 (patch) | |
tree | fe3403003ea680db55bade75a8e0046d2cbb6a69 /src/pathops | |
parent | 0e37992a2243d5e4bf6959616d7b081fcd1fa415 (diff) |
Remove dead code in SkBitmapProcLegacyShader::ContextSize
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2474973002
Review-Url: https://codereview.chromium.org/2474973002
Diffstat (limited to 'src/pathops')
-rw-r--r-- | src/pathops/SkOpSegment.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/pathops/SkOpSegment.cpp b/src/pathops/SkOpSegment.cpp index 439392fc4f..f3f874710e 100644 --- a/src/pathops/SkOpSegment.cpp +++ b/src/pathops/SkOpSegment.cpp @@ -1058,9 +1058,6 @@ SkOpSegment* SkOpSegment::nextChase(SkOpSpanBase** startPtr, int* stepPtr, SkOpS return set_last(last, endSpan); } SkASSERT(*startPtr); - if (!otherEnd) { - return nullptr; - } // SkASSERT(otherEnd >= 0); SkOpSpan* origMin = step < 0 ? origStart->prev() : origStart->upCast(); SkOpSpan* foundMin = foundSpan->starter(otherEnd); |