Add generationID to debugger's path information

Review URL: https://codereview.chromium.org/1412013005
This commit is contained in:
robertphillips 2015-10-29 09:45:27 -07:00 committed by Commit bot
parent ef27ce3730
commit fe8d5f65ac

View File

@ -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"