Index: src/core/SkLazyPtr.h |
diff --git a/src/core/SkLazyPtr.h b/src/core/SkLazyPtr.h |
index fa1a14e0335d78a8550fb76b58b271d0c742c4db..515086876c636bf99fdecacb6db15649ae0429ee 100644 |
--- a/src/core/SkLazyPtr.h |
+++ b/src/core/SkLazyPtr.h |
@@ -64,6 +64,7 @@ |
// See FIXME below. |
class SkFontConfigInterface; |
+class SkTypeface; |
namespace Private { |
@@ -99,6 +100,7 @@ |
#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() { |