From dce19a76e9ea90a42829cc7d13e23b3507e83bfe Mon Sep 17 00:00:00 2001 From: Herb Derby Date: Wed, 18 Apr 2018 16:02:17 -0400 Subject: Untangle strike cache and glyph cache The strike cache and the glpyh cache have been friends for a long time. Untangle this twisted relationship. BUG=skia:7515 Change-Id: Ie77393f6923e9886ec90ff7a60a1200e78319937 Reviewed-on: https://skia-review.googlesource.com/122084 Commit-Queue: Herb Derby Reviewed-by: Ben Wagner --- src/pdf/SkPDFFont.cpp | 1 + src/pdf/SkPDFFont.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/pdf') diff --git a/src/pdf/SkPDFFont.cpp b/src/pdf/SkPDFFont.cpp index 11c4b5828b..8c35b53d7c 100644 --- a/src/pdf/SkPDFFont.cpp +++ b/src/pdf/SkPDFFont.cpp @@ -6,6 +6,7 @@ */ #include "SkData.h" +#include "SkGlyphCache.h" #include "SkMakeUnique.h" #include "SkPDFCanon.h" #include "SkPDFConvertType1FontStream.h" diff --git a/src/pdf/SkPDFFont.h b/src/pdf/SkPDFFont.h index 44cebf9fef..746f4fab25 100644 --- a/src/pdf/SkPDFFont.h +++ b/src/pdf/SkPDFFont.h @@ -11,7 +11,7 @@ #include "SkAdvancedTypefaceMetrics.h" #include "SkBitSet.h" -#include "SkGlyphCache.h" +#include "SkStrikeCache.h" #include "SkPDFTypes.h" #include "SkTDArray.h" #include "SkTypeface.h" -- cgit v1.2.3