Index: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
index 663da08ffdbcac0c18e408cbde4752e30d0589fe..e53a77cec600102161497d09a1dbd46f026e8336 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
@@ -1635,6 +1635,7 @@ void StyleResolver::invalidateMatchedPropertiesCache() { |
} |
void StyleResolver::notifyResizeForViewportUnits() { |
+ document().styleEngine().updateActiveStyle(); |
m_matchedPropertiesCache.clearViewportDependent(); |
} |