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