Index: src/fonts/SkRandomScalerContext.cpp |
diff --git a/src/fonts/SkRandomScalerContext.cpp b/src/fonts/SkRandomScalerContext.cpp |
index 6d3718cbef0ef73085e750a0d11c3b837470430e..c9cb87c03ccf0f21a0a21dde4c4b9adc971e75d5 100644 |
--- a/src/fonts/SkRandomScalerContext.cpp |
+++ b/src/fonts/SkRandomScalerContext.cpp |
@@ -191,7 +191,7 @@ void SkRandomScalerContext::generateFontMetrics(SkPaint::FontMetrics* metrics) { |
#include "SkTypefaceCache.h" |
SkRandomTypeface::SkRandomTypeface(sk_sp<SkTypeface> proxy, const SkPaint& paint, bool fakeIt) |
- : SkTypeface(proxy->fontStyle(), SkTypefaceCache::NewFontID(), false) |
+ : SkTypeface(proxy->fontStyle(), false) |
, fProxy(std::move(proxy)) |
, fPaint(paint) |
, fFakeIt(fakeIt) {} |