commit | b5d0ce6bd4fef192a9908562b5a01bc01683c7bb | [log] [tgz] |
---|---|---|
author | bungeman <bungeman@google.com> | Fri Feb 13 11:49:07 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Fri Feb 13 11:49:07 2015 -0800 |
tree | b75aa964b6007f00be34983efb04f8c0ffb81177 | |
parent | e6eddf7dd85add7da41f22f2643bdd573ad1f1cf [diff] |
FontFamily SkTArrays can be moved. The FontFamily type in SkFontConfigParser_android.h contains two fields of type SkTArray. Both of these contain types which can be moved instead of calling constructors and destructors on resize. This change avoids a number of unneeded SkString refs and unrefs. Review URL: https://codereview.chromium.org/929473002