add alias for xfermode::getproc to allow legacy g client to bulid

BUG=skia:
NOTRY=True

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4623

Change-Id: Ib8108c6e2f2ca4592428711c2ae8a0bd1fa7963d
Reviewed-on: https://skia-review.googlesource.com/4623
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Mike Reed <reed@google.com>
This commit is contained in:
Mike Reed 2016-11-09 14:05:26 -05:00 committed by Skia Commit-Bot
parent 1c29ac9398
commit 40c07dc797

View File

@ -177,6 +177,9 @@ public:
} }
static SkXfermodeProc GetProc(SkBlendMode); static SkXfermodeProc GetProc(SkBlendMode);
static SkXfermodeProc GetProc(Mode mode) {
return GetProc((SkBlendMode)mode);
}
static SkXfermodeProc4f GetProc4f(SkBlendMode); static SkXfermodeProc4f GetProc4f(SkBlendMode);
/** /**