aboutsummaryrefslogtreecommitdiff
path: root/samplecode/SamplePathFuzz.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/SamplePathFuzz.cpp')
-rw-r--r--samplecode/SamplePathFuzz.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/samplecode/SamplePathFuzz.cpp b/samplecode/SamplePathFuzz.cpp
index b66b881547..ac9ffc9122 100644
--- a/samplecode/SamplePathFuzz.cpp
+++ b/samplecode/SamplePathFuzz.cpp
@@ -574,7 +574,8 @@ SkVector makeVector() {
void validate(const SkPath& path) {
if (fValidate) {
- SkDEBUGCODE(path.experimentalValidateRef());
+ // FIXME: this could probably assert on path.isValid() instead
+ SkDEBUGCODE(path.validateRef());
}
}