Index: src/utils/debugger/SkObjectParser.cpp |
diff --git a/src/utils/debugger/SkObjectParser.cpp b/src/utils/debugger/SkObjectParser.cpp |
index 03820e11f4d3bedc5e734e6a6573cfb01b72b93d..5132a4e7b9c009172168ac4afdec0485969e1fb3 100644 |
--- a/src/utils/debugger/SkObjectParser.cpp |
+++ b/src/utils/debugger/SkObjectParser.cpp |
@@ -134,7 +134,9 @@ SkString* SkObjectParser::PaintToString(const SkPaint& paint) { |
} |
SkString* SkObjectParser::PathToString(const SkPath& path) { |
- SkString* mPath = new SkString("Path ("); |
+ SkString* mPath = new SkString; |
+ |
+ mPath->appendf("Path (%d) (", path.getGenerationID()); |
static const char* gFillStrings[] = { |
"Winding", "EvenOdd", "InverseWinding", "InverseEvenOdd" |