aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/utils
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-15 20:17:47 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-15 20:17:47 +0000
commit76f9e938df0b5826fd4c80b854ceafaf385cfbe1 (patch)
tree5e72265c6e177791a1fff149763308454c958429 /include/utils
parent06b8a19b5693a352cabe8e624469e67e335bc369 (diff)
Added print out of SkShader information to debugger
Diffstat (limited to 'include/utils')
-rw-r--r--include/utils/SkDumpCanvas.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/utils/SkDumpCanvas.h b/include/utils/SkDumpCanvas.h
index 608ab01334..8d9c67d50d 100644
--- a/include/utils/SkDumpCanvas.h
+++ b/include/utils/SkDumpCanvas.h
@@ -10,6 +10,8 @@
#include "SkCanvas.h"
+#ifdef SK_DEVELOPER
+
/** This class overrides all the draw methods on SkCanvas, and formats them
as text, and then sends that to a Dumper helper object.
@@ -155,3 +157,5 @@ private:
};
#endif
+
+#endif