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:
parent
0f147ac2ae
commit
4cfd5af26e
@ -188,7 +188,7 @@ void SkXfermodeImageFilter_Base::drawForeground(SkCanvas* canvas, SkSpecialImage
|
|||||||
#ifndef SK_IGNORE_TO_STRING
|
#ifndef SK_IGNORE_TO_STRING
|
||||||
void SkXfermodeImageFilter_Base::toString(SkString* str) const {
|
void SkXfermodeImageFilter_Base::toString(SkString* str) const {
|
||||||
str->appendf("SkXfermodeImageFilter: (");
|
str->appendf("SkXfermodeImageFilter: (");
|
||||||
str->appendf("blendmode: (%d)", fMode);
|
str->appendf("blendmode: (%d)", (int)fMode);
|
||||||
if (this->getInput(0)) {
|
if (this->getInput(0)) {
|
||||||
str->appendf("foreground: (");
|
str->appendf("foreground: (");
|
||||||
this->getInput(0)->toString(str);
|
this->getInput(0)->toString(str);
|
||||||
|
Loading…
Reference in New Issue
Block a user