aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2016-10-03 14:33:48 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-10-03 14:33:48 -0700
commit418374c0d27280f3a1161601ae5fab28a76a0d3c (patch)
treec5a3f893dec0881746d1d0eeb06a7ad589ac186c
parent4cfd5af26e5fab1699cfa2ab40d49c24cededd72 (diff)
Revert of add cast for tostring (patchset #1 id:1 of https://codereview.chromium.org/2385353002/ )
Reason for revert: base CL has legacy skp bug, so have to revert it Original issue's description: > add cast for tostring to fix google3 > > BUG=skia: > GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2385353002 > > TBR=True > NOTRY=True > > Committed: https://skia.googlesource.com/skia/+/4cfd5af26e5fab1699cfa2ab40d49c24cededd72 TBR= # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review-Url: https://codereview.chromium.org/2384303002
-rw-r--r--src/effects/SkXfermodeImageFilter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/SkXfermodeImageFilter.cpp b/src/effects/SkXfermodeImageFilter.cpp
index 420e6e2ab4..2335a760fb 100644
--- a/src/effects/SkXfermodeImageFilter.cpp
+++ b/src/effects/SkXfermodeImageFilter.cpp
@@ -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)", (int)fMode);
+ str->appendf("blendmode: (%d)", fMode);
if (this->getInput(0)) {
str->appendf("foreground: (");
this->getInput(0)->toString(str);