Index: tools/android/SkAndroidSDKCanvas.cpp |
diff --git a/tools/android/SkAndroidSDKCanvas.cpp b/tools/android/SkAndroidSDKCanvas.cpp |
index 35b1581fdab2df6175120e9cc9991cab1f19336e..d7a76ca215f54889460b4a68edb29fc443752889 100644 |
--- a/tools/android/SkAndroidSDKCanvas.cpp |
+++ b/tools/android/SkAndroidSDKCanvas.cpp |
@@ -69,7 +69,7 @@ void Filter(SkPaint* paint) { |
bool isMode = cf->asColorMode(&color, &mode); |
if (isMode && mode > SkXfermode::kLighten_Mode) { |
paint->setColorFilter( |
- SkColorFilter::CreateModeFilter(color, SkXfermode::kSrcOver_Mode)); |
+ SkColorFilter::MakeModeFilter(color, SkXfermode::kSrcOver_Mode)); |
} else if (!isMode && !cf->asColorMatrix(srcColorMatrix)) { |
paint->setColorFilter(nullptr); |
} |