diff options
author | Mike Reed <reed@google.com> | 2017-02-17 09:28:22 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-02-17 17:31:33 +0000 |
commit | a01bf9ab748836fc4bf271bd5024151bf1ce2e88 (patch) | |
tree | e6bc9c8d04411af11b0f52aecc4cfa0ce8307945 /fuzz | |
parent | 04628221324eb2e5b329a8fd9c69196ea9acb43c (diff) |
hide deprecated underline and strikethru
BUG=skia:6250
Change-Id: I85395e4960b16ab91237a74ff35e5b7588965512
Reviewed-on: https://skia-review.googlesource.com/8600
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'fuzz')
-rw-r--r-- | fuzz/FilterFuzz.cpp | 2 | ||||
-rw-r--r-- | fuzz/FuzzDrawFunctions.cpp | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/fuzz/FilterFuzz.cpp b/fuzz/FilterFuzz.cpp index e3d30b5af7..bd9e5fde8f 100644 --- a/fuzz/FilterFuzz.cpp +++ b/fuzz/FilterFuzz.cpp @@ -525,8 +525,6 @@ static SkPaint make_paint() { paint.setEmbeddedBitmapText(make_bool()); paint.setAutohinted(make_bool()); paint.setVerticalText(make_bool()); - paint.setUnderlineText(make_bool()); - paint.setStrikeThruText(make_bool()); paint.setFakeBoldText(make_bool()); paint.setDevKernText(make_bool()); paint.setFilterQuality(make_filter_quality()); diff --git a/fuzz/FuzzDrawFunctions.cpp b/fuzz/FuzzDrawFunctions.cpp index af4d09bd28..8c40bce3d4 100644 --- a/fuzz/FuzzDrawFunctions.cpp +++ b/fuzz/FuzzDrawFunctions.cpp @@ -137,8 +137,6 @@ static void fuzz_drawText(Fuzz* fuzz, sk_sp<SkTypeface> font) { fuzz->next(&b); p.setLinearText(b); fuzz->next(&b); - p.setStrikeThruText(b); - fuzz->next(&b); p.setSubpixelText(b); fuzz->next(&x); p.setTextScaleX(x); @@ -147,8 +145,6 @@ static void fuzz_drawText(Fuzz* fuzz, sk_sp<SkTypeface> font) { fuzz->next(&x); p.setTextSize(x); fuzz->next(&b); - p.setUnderlineText(b); - fuzz->next(&b); p.setVerticalText(b); SkCanvas* cnv = surface->getCanvas(); |