Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1988)

Unified Diff: samplecode/SampleFilterFuzz.cpp

Issue 1009183002: swith over from SkPaint::FilterLevel to SkFilterQuality (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samplecode/SampleFilter2.cpp ('k') | samplecode/SampleFilterQuality.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/SampleFilterFuzz.cpp
diff --git a/samplecode/SampleFilterFuzz.cpp b/samplecode/SampleFilterFuzz.cpp
index 894e4faac056c81bf911ad21a61462c3c87a74fb..b2c15aa7c48e863d4f7348791bb1c37c4ed24d56 100644
--- a/samplecode/SampleFilterFuzz.cpp
+++ b/samplecode/SampleFilterFuzz.cpp
@@ -311,7 +311,7 @@ static SkImageFilter* make_image_filter(bool canBeNull = true) {
break;
case MATRIX:
filter = SkMatrixImageFilter::Create(make_matrix(),
- (SkPaint::FilterLevel)R(4),
+ (SkFilterQuality)R(4),
make_image_filter());
break;
case MATRIX_CONVOLUTION:
« no previous file with comments | « samplecode/SampleFilter2.cpp ('k') | samplecode/SampleFilterQuality.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698