aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pdf
diff options
context:
space:
mode:
authorGravatar Herb Derby <herb@google.com>2018-04-18 16:02:17 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-19 14:10:05 +0000
commitdce19a76e9ea90a42829cc7d13e23b3507e83bfe (patch)
tree282452d41f07141c96b2030dd4f72627726c0c3a /src/pdf
parent23e4544e9442be38bea9678d66f1c76225eb5bb7 (diff)
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 <herb@google.com> Reviewed-by: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'src/pdf')
-rw-r--r--src/pdf/SkPDFFont.cpp1
-rw-r--r--src/pdf/SkPDFFont.h2
2 files changed, 2 insertions, 1 deletions
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"