| Index: trunk/Source/core/dom/TreeScope.cpp
|
| ===================================================================
|
| --- trunk/Source/core/dom/TreeScope.cpp (revision 190671)
|
| +++ trunk/Source/core/dom/TreeScope.cpp (working copy)
|
| @@ -507,7 +507,7 @@
|
| for (Element* element = ElementTraversal::firstWithin(rootNode()); element; element = ElementTraversal::nextIncludingPseudo(*element)) {
|
| for (ShadowRoot* root = element->youngestShadowRoot(); root; root = root->olderShadowRoot())
|
| root->setNeedsStyleRecalcForViewportUnits();
|
| - const LayoutStyle* style = element->layoutStyle();
|
| + LayoutStyle* style = element->layoutStyle();
|
| if (style && style->hasViewportUnits())
|
| element->setNeedsStyleRecalc(LocalStyleChange, StyleChangeReasonForTracing::create(StyleChangeReason::ViewportUnits));
|
| }
|
|
|