Index: Source/core/dom/StyleEngine.cpp |
diff --git a/Source/core/dom/StyleEngine.cpp b/Source/core/dom/StyleEngine.cpp |
index 5014a8d903bfcc8988a84db6b3852ca87c218bcb..4fe8e17fc8f2f25a9a80f05870251fa27c59ac83 100644 |
--- a/Source/core/dom/StyleEngine.cpp |
+++ b/Source/core/dom/StyleEngine.cpp |
@@ -671,6 +671,11 @@ void StyleEngine::fontsNeedUpdate(CSSFontSelector*) |
document().setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::Fonts)); |
} |
+void StyleEngine::setFontSelector(PassRefPtrWillBeRawPtr<CSSFontSelector> fontSelector) |
+{ |
+ m_fontSelector = fontSelector; |
+} |
+ |
void StyleEngine::trace(Visitor* visitor) |
{ |
#if ENABLE(OILPAN) |