Add generationID to debugger's path information
Review URL: https://codereview.chromium.org/1412013005
diff --git a/src/utils/debugger/SkObjectParser.cpp b/src/utils/debugger/SkObjectParser.cpp
index 03820e1..5132a4e 100644
--- a/src/utils/debugger/SkObjectParser.cpp
+++ b/src/utils/debugger/SkObjectParser.cpp
@@ -134,7 +134,9 @@
}
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"