Index: third_party/WebKit/Source/core/dom/Document.h |
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h |
index fcfb3ff26bf8ce2963edfe47902cd6ecdae24555..5323796bb48bcce84dcce2d5b309399a0c2b2ccb 100644 |
--- a/third_party/WebKit/Source/core/dom/Document.h |
+++ b/third_party/WebKit/Source/core/dom/Document.h |
@@ -34,6 +34,7 @@ |
#include "bindings/core/v8/ScriptValue.h" |
#include "bindings/core/v8/TraceWrapperMember.h" |
#include "core/CoreExport.h" |
+#include "core/css/FontFaceCache.h" |
#include "core/dom/ContainerNode.h" |
#include "core/dom/DocumentEncodingData.h" |
#include "core/dom/DocumentInit.h" |
@@ -1267,6 +1268,8 @@ class CORE_EXPORT Document : public ContainerNode, |
return m_clientHintsPreferences; |
} |
+ FontFaceCache* fontFaceCache() { return &m_fontFaceCache; } |
+ void incrementFontFaceVersion() { m_fontFaceCache.incrementVersion(); } |
CanvasFontCache* canvasFontCache(); |
// Used by unit tests so that all parsing will be main thread for |
@@ -1657,6 +1660,7 @@ class CORE_EXPORT Document : public ContainerNode, |
ClientHintsPreferences m_clientHintsPreferences; |
+ FontFaceCache m_fontFaceCache; |
Member<CanvasFontCache> m_canvasFontCache; |
Member<IntersectionObserverController> m_intersectionObserverController; |