Index: bench/CmapBench.cpp |
diff --git a/bench/CmapBench.cpp b/bench/CmapBench.cpp |
index 49e89bec8ca656cf5fcbe690bfe694f80f70d469..a2fb5065f4c298f8327a10b32950d93126d3d1c1 100644 |
--- a/bench/CmapBench.cpp |
+++ b/bench/CmapBench.cpp |
@@ -77,7 +77,7 @@ |
// we're jamming values into utf8, so we must keep it legal utf8 |
fText[i] = 'A' + (i & 31); |
} |
- fPaint.setTypeface(SkTypeface::MakeDefault()); |
+ fPaint.setTypeface(SkTypeface::RefDefault())->unref(); |
} |
protected: |