commit | 9904c9212074279380e21f96575078734dbbd308 | [log] [tgz] |
---|---|---|
author | halcanary <halcanary@google.com> | Tue Mar 08 12:38:22 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Tue Mar 08 12:38:22 2016 -0800 |
tree | 8970a1405170db6036b11ec1797e21cf33d5ce4b | |
parent | 6b5c5cc7b7bdffb4882706b915b544aba8714961 [diff] |
SkPDF: Add sk_sp setters; .release() becomes std::move() Note to reviewers: Start with changes to SkPDFTypes.h Many places that had a bare pointer owning a reference are refactored to use a sk_sp. There remain several places where a non-owning pointer `T*` should be replaced with `const sk_sp<T>&` to eliminate the common pattern `sk_sp<T>(SkRef(x))`. Review URL: https://codereview.chromium.org/1775043002