diff options
author | 2014-05-30 23:59:12 +0000 | |
---|---|---|
committer | 2014-05-30 23:59:12 +0000 | |
commit | 56f7cca144c539ec01f00d6382fded362ff193a3 (patch) | |
tree | 320e51ca850b8c7bf5ef14e1c523d385674eca14 /src/core/SkLazyPtr.h | |
parent | 22a1d96ca368a2d1fba40a541006be64af487ccd (diff) |
Port most uses of SkOnce to SkLazyPtr.
BUG=skia:
Committed: http://code.google.com/p/skia/source/detail?r=15006
R=reed@google.com, mtklein@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/304383005
git-svn-id: http://skia.googlecode.com/svn/trunk@15014 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core/SkLazyPtr.h')
-rw-r--r-- | src/core/SkLazyPtr.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/SkLazyPtr.h b/src/core/SkLazyPtr.h index 515086876c..fa1a14e033 100644 --- a/src/core/SkLazyPtr.h +++ b/src/core/SkLazyPtr.h @@ -64,7 +64,6 @@ // See FIXME below. class SkFontConfigInterface; -class SkTypeface; namespace Private { @@ -100,7 +99,6 @@ public: #ifdef SK_DEBUG // FIXME: We know we leak refs on some classes. For now, let them leak. void cleanup(SkFontConfigInterface*) {} - void cleanup(SkTypeface*) {} template <typename U> void cleanup(U* ptr) { Destroy(ptr); } ~SkLazyPtr() { |