diff --git a/include/core/SkXfermode.h b/include/core/SkXfermode.h index e865e66456..3661756aa4 100644 --- a/include/core/SkXfermode.h +++ b/include/core/SkXfermode.h @@ -177,6 +177,9 @@ public: } static SkXfermodeProc GetProc(SkBlendMode); + static SkXfermodeProc GetProc(Mode mode) { + return GetProc((SkBlendMode)mode); + } static SkXfermodeProc4f GetProc4f(SkBlendMode); /**