commit | 2eb3c17ba30a434f776c3d6635ee4e3520ccf1b4 | [log] [tgz] |
---|---|---|
author | Dominic Mazzoni <dmazzoni@chromium.org> | Mon Jun 22 23:59:25 2020 -0700 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Jun 23 14:25:33 2020 +0000 |
tree | ec660197718d1d8ca1e891d75d412f8d8a0efc51 | |
parent | 1fcdcaa0a19fbda49e01141d8c9ddb881680a586 [diff] |
Add appendNodeIdArray to avoid code duplication. Add SkPDF::AttributeList::appendNodeIdArray so that clients don't need to re-implement/duplicate NodeIdToString in order to add attributes that express the relationship between nodes. Follow-up to: https://chromium-review.googlesource.com/c/chromium/src/+/2251058 This deletes appendNameArray and appendStringArray since there's no immediate need for them, but we may add them back if needed. Bug: chromium:607777 Change-Id: If9b1527f97c7b52bb1bdad3c0828067bb76f25f2 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/297277 Commit-Queue: Ben Wagner <bungeman@google.com> Reviewed-by: Ben Wagner <bungeman@google.com>