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

Unified Diff: samplecode/SampleFilterFuzz.cpp

Issue 1574023002: move declaration of CreateLightingFilter into SkColorMatrixFilter (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: don't remove old impl yet Created 4 years, 11 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/SampleAll.cpp ('k') | src/effects/SkColorFilters.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 9d45fa6e07a6fe666194df4727738ce3d29f131c..f8ceed452cd4bb4229b4748101057519266769f4 100644
--- a/samplecode/SampleFilterFuzz.cpp
+++ b/samplecode/SampleFilterFuzz.cpp
@@ -381,7 +381,7 @@ static SkColorFilter* make_color_filter() {
colorFilter = SkColorFilter::CreateModeFilter(make_color(), make_xfermode());
break;
case 4:
- colorFilter = SkColorFilter::CreateLightingFilter(make_color(), make_color());
+ colorFilter = SkColorMatrixFilter::CreateLightingFilter(make_color(), make_color());
break;
case 5:
default:
« no previous file with comments | « samplecode/SampleAll.cpp ('k') | src/effects/SkColorFilters.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698