diff options
author | halcanary <halcanary@google.com> | 2016-03-08 12:38:22 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-08 12:38:22 -0800 |
commit | 9904c9212074279380e21f96575078734dbbd308 (patch) | |
tree | 8970a1405170db6036b11ec1797e21cf33d5ce4b /tests/RefCntTest.cpp | |
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
Diffstat (limited to 'tests/RefCntTest.cpp')
0 files changed, 0 insertions, 0 deletions