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
This commit is contained in:
parent
791f12e6cf
commit
37a2b39ad1
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user