Index: src/fonts/SkGScalerContext.cpp |
diff --git a/src/fonts/SkGScalerContext.cpp b/src/fonts/SkGScalerContext.cpp |
index 1d34536cbe2933eff5094d3791f1665f4fea0275..5a439b7eb5588bf8d096203c427887630b8bba63 100644 |
--- a/src/fonts/SkGScalerContext.cpp |
+++ b/src/fonts/SkGScalerContext.cpp |
@@ -152,7 +152,7 @@ void SkGScalerContext::generateFontMetrics(SkPaint::FontMetrics* metrics) { |
#include "SkTypefaceCache.h" |
SkGTypeface::SkGTypeface(sk_sp<SkTypeface> proxy, const SkPaint& paint) |
- : SkTypeface(proxy->fontStyle(), SkTypefaceCache::NewFontID(), false) |
+ : SkTypeface(proxy->fontStyle(), false) |
, fProxy(std::move(proxy)) |
, fPaint(paint) |
{} |