aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkReadBuffer.h
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-05-02 07:19:41 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-02 07:19:41 -0700
commit59c12e3f0071acfa685346487e54a2a311066dac (patch)
tree5311ab7c77393dc85a8bb979b7c3b7f761a51e0b /src/core/SkReadBuffer.h
parent57b46159740020ef904aaf41e9e5ae07106591cc (diff)
remove non-static uses of SkOncePtr
Still slowly working through all the SK_DECLARE_STATIC_FOO macros. SkOncePtr is complicating things by having SkOncePtr delete its pointer and SkBaseOncePtr not. Simplify things by removing SkOncePtr, leaving only the leaky SkBaseOncePtr. We replace SkOncePtr<T> instead with SkOnce and T. In most cases this did not need to be a pointer, and in some cases here we're even saving a few bytes by replacing SkOncePtr<T> with SkOnce and a T. The dependency map of SK_DECLARE_STATIC_FOO is: SkBaseMutex -> SkBaseSemaphore -> SkBaseOncePtr They're intertwined enough that I think I've got to do all three in one next CL. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1939503002 Review-Url: https://codereview.chromium.org/1939503002
Diffstat (limited to 'src/core/SkReadBuffer.h')
0 files changed, 0 insertions, 0 deletions