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

Unified Diff: src/core/SkPaint.cpp

Issue 15697012: Add printing of SkColorFilter-derived classes to debugger (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Neaten up a bit Created 7 years, 7 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 | « include/effects/SkColorMatrixFilter.h ('k') | src/effects/SkColorFilters.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPaint.cpp
===================================================================
--- src/core/SkPaint.cpp (revision 9237)
+++ src/core/SkPaint.cpp (working copy)
@@ -2329,6 +2329,7 @@
SkColorFilter* colorFilter = this->getColorFilter();
if (NULL != colorFilter) {
str->append("<dt>ColorFilter:</dt><dd>");
+ SkDEVCODE(colorFilter->toString(str);)
djsollen 2013/05/22 19:13:50 why does this need SkDEVCODE if it is in a SK_DEVE
robertphillips 2013/05/22 19:29:35 Can't go wrong with belt AND suspenders - done.
str->append("</dd>");
}
« no previous file with comments | « include/effects/SkColorMatrixFilter.h ('k') | src/effects/SkColorFilters.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698