aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SampleFuzz.cpp
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2018-03-14 13:01:17 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-14 17:27:36 +0000
commit1be1f8d097da4d4c07b4a1fa16013b0d440e4308 (patch)
tree0d0d96a7ad0dcf35cc40838c5f0041e43929b384 /samplecode/SampleFuzz.cpp
parentc29c76aae518a9c368248063e84a96ffe8c75b90 (diff)
hide SkBlurMaskFilter and SkBlurQuality
SK_SUPPORT_LEGACY_BLURMASKFILTER Bug: skia: Change-Id: Ic3e27e08e6e3cd2ffc1cd13b044e197bebc96236 Reviewed-on: https://skia-review.googlesource.com/113940 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'samplecode/SampleFuzz.cpp')
-rw-r--r--samplecode/SampleFuzz.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/samplecode/SampleFuzz.cpp b/samplecode/SampleFuzz.cpp
index 63504cd77a..1379e73d13 100644
--- a/samplecode/SampleFuzz.cpp
+++ b/samplecode/SampleFuzz.cpp
@@ -4,10 +4,11 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+
#include "SampleCode.h"
#include "SkView.h"
#include "SkCanvas.h"
-#include "SkBlurMaskFilter.h"
+#include "SkMaskFilter.h"
#include "SkPaint.h"
#include "SkPath.h"
#include "SkMatrix.h"
@@ -188,7 +189,7 @@ static void do_fuzz(SkCanvas* canvas) {
case 7:
if (quick == true) break;
- paint.setMaskFilter(SkBlurMaskFilter::Make(kNormal_SkBlurStyle, make_number()));
+ paint.setMaskFilter(SkMaskFilter::MakeBlur(kNormal_SkBlurStyle, make_number()));
break;
case 8: