Index: src/effects/gradients/Sk4fGradientBase.h |
diff --git a/src/effects/gradients/Sk4fGradientBase.h b/src/effects/gradients/Sk4fGradientBase.h |
index 17f9563957aa78c453f19fbe178fa45b536df4ae..fd6d6563a72485749546106ba4cb351559f7e96f 100644 |
--- a/src/effects/gradients/Sk4fGradientBase.h |
+++ b/src/effects/gradients/Sk4fGradientBase.h |
@@ -28,6 +28,8 @@ public: |
void shadeSpan(int x, int y, SkPMColor dst[], int count) override; |
void shadeSpan4f(int x, int y, SkPM4f dst[], int count) override; |
+ bool isValid() const; |
+ |
protected: |
struct Interval { |
Interval(const Sk4f& c0, SkScalar p0, |