diff options
author | 2014-06-02 08:44:27 -0700 | |
---|---|---|
committer | 2014-06-02 08:44:27 -0700 | |
commit | 78358bf624c7e7c09ffccf638c50870808d884d6 (patch) | |
tree | 71a7dfbae1429f457cd5c31eb4469925991cf245 /src/core/SkLazyPtr.h | |
parent | 309e86912445879651d52ebbedb67b4ff3f1516c (diff) |
Port most uses of SkOnce to SkLazyPtr.
BUG=skia:
Committed: http://code.google.com/p/skia/source/detail?r=15006
Committed: http://code.google.com/p/skia/source/detail?r=15014
R=reed@google.com, mtklein@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/304383005
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 71876e7b41..50d8328cd5 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_DEVELOPER // 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() { |