Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(807)

Unified Diff: src/utils/SkDumpCanvas.cpp

Issue 2393253003: fix other printf warning for SkBlendMode (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/SkDumpCanvas.cpp
diff --git a/src/utils/SkDumpCanvas.cpp b/src/utils/SkDumpCanvas.cpp
index eda23b7eb01c970ab86ba6b6bedec4c711f93b7a..eb5606845bd5da92a10aee4f95f2a2485461632b 100644
--- a/src/utils/SkDumpCanvas.cpp
+++ b/src/utils/SkDumpCanvas.cpp
@@ -541,7 +541,7 @@ void SkFormatDumper::dump(SkDumpCanvas* canvas, SkDumpCanvas::Verb verb,
if (p) {
msg.appendf(" color:0x%08X flags:%X", p->getColor(), p->getFlags());
if (!p->isSrcOver()) {
- msg.appendf(" blendmode:%d", p->getBlendMode());
+ msg.appendf(" blendmode:%d", (int)p->getBlendMode());
}
appendFlattenable(&msg, p->getShader(), "shader");
appendFlattenable(&msg, p->getPathEffect(), "pathEffect");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698