Index: samplecode/SampleApp.h |
diff --git a/samplecode/SampleApp.h b/samplecode/SampleApp.h |
index c56bcd44888df570f652b873d36584b3bdf5c2b4..88f5925fbd8dd6f95350bed425edcd66089a327c 100644 |
--- a/samplecode/SampleApp.h |
+++ b/samplecode/SampleApp.h |
@@ -200,7 +200,7 @@ private: |
int fMouseX, fMouseY; |
int fFatBitsScale; |
// Used by the text showing position and color values. |
- SkTypeface* fTypeface; |
+ sk_sp<SkTypeface> fTypeface; |
bool fShowZoomer; |
SkOSMenu::TriState fLCDState; |