remove dead SK_DISABLE_DASHING_OPTIMIZATION flag

BUG=skia:

Review URL: https://codereview.chromium.org/698003004
This commit is contained in:
reed 2014-11-04 05:17:39 -08:00 committed by Commit bot
parent 4ab22e38ca
commit 5698f91d60

View File

@ -628,7 +628,6 @@ void SkDraw::drawPoints(SkCanvas::PointMode mode, size_t count,
break;
}
case SkCanvas::kLines_PointMode:
#ifndef SK_DISABLE_DASHING_OPTIMIZATION
if (2 == count && paint.getPathEffect()) {
// most likely a dashed line - see if it is one of the ones
// we can accelerate
@ -712,7 +711,6 @@ void SkDraw::drawPoints(SkCanvas::PointMode mode, size_t count,
break;
}
}
#endif // DISABLE_DASHING_OPTIMIZATION
// couldn't take fast path so fall through!
case SkCanvas::kPolygon_PointMode: {
count -= 1;