Index: samplecode/SampleApp.h |
diff --git a/samplecode/SampleApp.h b/samplecode/SampleApp.h |
index ad7a871b9867630524cdaf40c8e8fc44acbb8940..7734ac93d90a19d37004563d1cada0734a3b939b 100644 |
--- a/samplecode/SampleApp.h |
+++ b/samplecode/SampleApp.h |
@@ -204,7 +204,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; |