diff options
author | 2016-10-27 09:30:08 -0700 | |
---|---|---|
committer | 2016-10-27 09:30:08 -0700 | |
commit | 6bd5284415bd983b0628c4941dff5def40018f5a (patch) | |
tree | 7de7e45431f76db69807204ecdce3ed6fcc4d9e8 /include/gpu/GrGpuResourceRef.h | |
parent | 56380524d903f27627a75e2e1189463999725008 (diff) |
Remove SkAutoTUnref and SkAutoTDelete from public includes.
This also makes the required changed to src, tests, and tools. The few
public APIs modified by this change appear to be unused outside of Skia.
Removing these from the public API makes it easier to ensure users are
no longer using them.
This also updates GrGpu::wrapBackendXXX and the
::onWrapBackendXXX methods to clarify ownership.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2448593002
Review-Url: https://codereview.chromium.org/2448593002
Diffstat (limited to 'include/gpu/GrGpuResourceRef.h')
-rw-r--r-- | include/gpu/GrGpuResourceRef.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpu/GrGpuResourceRef.h b/include/gpu/GrGpuResourceRef.h index 13adbee242..a91dcfeed5 100644 --- a/include/gpu/GrGpuResourceRef.h +++ b/include/gpu/GrGpuResourceRef.h @@ -28,7 +28,7 @@ * state 2 to state 3. Calling pendingIOComplete() moves from state 2 to state 1. There is no * valid way of going from state 3 back to 2 or 1. * - * Like SkAutoTUnref, its constructor and setter adopt a ref from their caller. + * Like sk_sp, its constructor and setter adopt a ref from their caller. * * TODO: Once GrDODrawState no longer exists and therefore GrDrawState and GrOptDrawState no * longer share an instance of this class, attempt to make the resource owned by GrGpuResourceRef |