Add generationID to debugger's path information
Review URL: https://codereview.chromium.org/1412013005
This commit is contained in:
parent
ef27ce3730
commit
fe8d5f65ac
@ -134,7 +134,9 @@ SkString* SkObjectParser::PaintToString(const SkPaint& paint) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
SkString* SkObjectParser::PathToString(const SkPath& path) {
|
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[] = {
|
static const char* gFillStrings[] = {
|
||||||
"Winding", "EvenOdd", "InverseWinding", "InverseEvenOdd"
|
"Winding", "EvenOdd", "InverseWinding", "InverseEvenOdd"
|
||||||
|
Loading…
Reference in New Issue
Block a user