Index: src/effects/SkPorterDuff.cpp |
diff --git a/src/effects/SkPorterDuff.cpp b/src/effects/SkPorterDuff.cpp |
index 816ddae04b521a70df44ade1c73f299ccde520b5..4cdcf798a1c527b869502ea44ffa163fb2621f16 100644 |
--- a/src/effects/SkPorterDuff.cpp |
+++ b/src/effects/SkPorterDuff.cpp |
@@ -72,7 +72,7 @@ SkXfermode* SkPorterDuff::CreateXfermode(SkPorterDuff::Mode mode) { |
bool SkPorterDuff::IsMode(SkXfermode* xfer, Mode* pdmode) { |
SkXfermode::Mode xfmode; |
- if (!SkXfermode::IsMode(xfer, &xfmode)) { |
+ if (!SkXfermode::AsMode(xfer, &xfmode)) { |
return false; |
} |
return find_pdmode(xfmode, pdmode); |