Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ash: Use skia::RefPtr instead of manually calling unref().
According to https://chromium.googlesource.com/chromium/src/+/master/skia/ext/refptr.h#40, we should never call unref() on the underlying ref-counted pointer. By using AdoptRef(), skia::RefPtr will take care of that for us automatically. BUG=None R=sky@chromium.org Review URL: https://codereview.chromium.org/812333003 Cr-Commit-Position: refs/heads/master@{#310443}
- Loading branch information