Index: src/effects/SkColorFilters.cpp |
diff --git a/src/effects/SkColorFilters.cpp b/src/effects/SkColorFilters.cpp |
index ab32bc66363b7da18593df772958c940c2bfc978..bd5ecacdcedb7d7ed86017ee5a6d6172881f8c54 100644 |
--- a/src/effects/SkColorFilters.cpp |
+++ b/src/effects/SkColorFilters.cpp |
@@ -557,7 +557,7 @@ SkColorFilter* SkColorFilter::CreateLightingFilter(SkColor mul, SkColor add) { |
SkIntToScalar(SkColorGetG(add)), |
SkIntToScalar(SkColorGetB(add)), |
0); |
- return SkNEW_ARGS(SkColorMatrixFilter, (matrix)); |
+ return SkColorMatrixFilter::Create(matrix); |
} |
SK_DEFINE_FLATTENABLE_REGISTRAR_GROUP_START(SkColorFilter) |