Index: Source/core/dom/StyleEngine.cpp |
diff --git a/Source/core/dom/StyleEngine.cpp b/Source/core/dom/StyleEngine.cpp |
index a557562c8e6134ba755f14b94977e0ee012bc708..c95c68287c686ac4e2ece189f379a5a4951fa169 100644 |
--- a/Source/core/dom/StyleEngine.cpp |
+++ b/Source/core/dom/StyleEngine.cpp |
@@ -722,6 +722,11 @@ void StyleEngine::fontsNeedUpdate(CSSFontSelector*) |
document().setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::Fonts)); |
} |
+void StyleEngine::setFontSelector(PassRefPtrWillBeRawPtr<CSSFontSelector> fontSelector) |
+{ |
+ m_fontSelector = fontSelector; |
+} |
+ |
void StyleEngine::platformColorsChanged() |
{ |
if (m_resolver) |