Index: Source/core/dom/TreeScope.cpp |
diff --git a/Source/core/dom/TreeScope.cpp b/Source/core/dom/TreeScope.cpp |
index e632656c90ada44465b00b43ca23d08728602a25..4fbb0ceb0c6d224516016a40b7b30c57c2b5defd 100644 |
--- a/Source/core/dom/TreeScope.cpp |
+++ b/Source/core/dom/TreeScope.cpp |
@@ -547,7 +547,7 @@ void TreeScope::setNeedsStyleRecalcForViewportUnits() |
root->setNeedsStyleRecalcForViewportUnits(); |
RenderStyle* style = element->renderStyle(); |
if (style && style->hasViewportUnits()) |
- element->setNeedsStyleRecalc(LocalStyleChange); |
+ element->setNeedsStyleRecalc(StyleRecalcDueToViewportUnits, LocalStyleChange); |
} |
} |