aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pathops
diff options
context:
space:
mode:
authorGravatar sylvestre.ledru <sylvestre.ledru@gmail.com>2016-11-07 09:12:05 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-11-07 09:12:06 -0800
commit09c85a53c370325d4e8646e34be7684728a1f375 (patch)
treefe3403003ea680db55bade75a8e0046d2cbb6a69 /src/pathops
parent0e37992a2243d5e4bf6959616d7b081fcd1fa415 (diff)
Remove dead code in SkBitmapProcLegacyShader::ContextSize
Diffstat (limited to 'src/pathops')
-rw-r--r--src/pathops/SkOpSegment.cpp3
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);