commit | 93392668399146a92385e2a01857de669f5b956f | [log] [tgz] |
---|---|---|
author | Ben Wagner <bungeman@google.com> | Fri Mar 20 14:45:24 2020 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Mar 20 19:50:12 2020 +0000 |
tree | 3e7b2b8fa3002871db4bcd86e6c27086dea97e09 | |
parent | 664cb9ebe54f810754197e04af8459ba33fa7893 [diff] |
Infer NodeType in attachDiscardableAdapter. This makes the call sites a bit simpler, doesn't materially change anything in an optimized build, allows NRVO, and generally fixes a number of warnings in gcc 9 about pessimizing-move. Change-Id: I0ea5f57db163425da728630bfa6c1add7c416bd7 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/278178 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Ben Wagner <bungeman@google.com>