From 37a2b39ad19d779b2d4c04d49aac55894082018d Mon Sep 17 00:00:00 2001 From: "robertphillips@google.com" Date: Thu, 14 Feb 2013 14:40:27 +0000 Subject: [PATCH] Added SK_DEVELOPER wrapper's around toString calls in debugger's SkObjectParser unreviewed git-svn-id: http://skia.googlecode.com/svn/trunk@7733 2bbb7eff-a529-9590-31e7-b0007b416f81 --- debugger/SkObjectParser.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debugger/SkObjectParser.cpp b/debugger/SkObjectParser.cpp index a15a3207d3..a3738dbeee 100644 --- a/debugger/SkObjectParser.cpp +++ b/debugger/SkObjectParser.cpp @@ -93,13 +93,17 @@ SkString* SkObjectParser::IRectToString(const SkIRect& rect) { SkString* SkObjectParser::MatrixToString(const SkMatrix& matrix) { SkString* str = new SkString("SkMatrix: "); +#ifdef SK_DEVELOPER matrix.toString(str); +#endif return str; } SkString* SkObjectParser::PaintToString(const SkPaint& paint) { SkString* str = new SkString; +#ifdef SK_DEVELOPER paint.toString(str); +#endif return str; }