add cast for tostring to fix google3

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

TBR=True
NOTRY=True

Review-Url: https://codereview.chromium.org/2385353002
This commit is contained in:
reed 2016-10-03 14:20:40 -07:00 committed by Commit bot
parent 0f147ac2ae
commit 4cfd5af26e

View File

@ -188,7 +188,7 @@ void SkXfermodeImageFilter_Base::drawForeground(SkCanvas* canvas, SkSpecialImage
#ifndef SK_IGNORE_TO_STRING
void SkXfermodeImageFilter_Base::toString(SkString* str) const {
str->appendf("SkXfermodeImageFilter: (");
str->appendf("blendmode: (%d)", fMode);
str->appendf("blendmode: (%d)", (int)fMode);
if (this->getInput(0)) {
str->appendf("foreground: (");
this->getInput(0)->toString(str);