Index: Source/core/dom/ShadowTreeStyleSheetCollection.cpp |
diff --git a/Source/core/dom/ShadowTreeStyleSheetCollection.cpp b/Source/core/dom/ShadowTreeStyleSheetCollection.cpp |
index a717f8e5a74167252cdb16a3d5c1bbee986b37df..da8a4d8edc21a29e6bcc2c7ef8bfb73fd6fa7666 100644 |
--- a/Source/core/dom/ShadowTreeStyleSheetCollection.cpp |
+++ b/Source/core/dom/ShadowTreeStyleSheetCollection.cpp |
@@ -93,7 +93,7 @@ void ShadowTreeStyleSheetCollection::updateActiveStyleSheets(StyleEngine& engine |
toShadowRoot(treeScope().rootNode()).host()->setNeedsStyleRecalc(SubtreeStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::ActiveStylesheetsUpdate)); |
collection.swap(*this); |
- updateUsesRemUnits(); |
+ updateUsesRemUnitsAndVariables(); |
} |
} |