Index: src/effects/SkDashPathEffect.cpp |
diff --git a/src/effects/SkDashPathEffect.cpp b/src/effects/SkDashPathEffect.cpp |
index 30d7667d178ecaa4220657c5fc01eda285a2aab3..1dbf2933617507d3f3056a29be940e088420ae7f 100644 |
--- a/src/effects/SkDashPathEffect.cpp |
+++ b/src/effects/SkDashPathEffect.cpp |
@@ -18,7 +18,7 @@ SkDashPathEffect::SkDashPathEffect(const SkScalar intervals[], int count, SkScal |
, fInitialDashIndex(0) |
, fIntervalLength(0) { |
SkASSERT(intervals); |
- SkASSERT(count > 1 && SkAlign2(count) == count); |
+ SkASSERT(count > 1 && SkIsAlign2(count)); |
fIntervals = (SkScalar*)sk_malloc_throw(sizeof(SkScalar) * count); |
fCount = count; |