Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Unified Diff: Source/WebCore/css/StyleSheetContents.cpp

Issue 13771002: Recalc styles on resize if we have viewport units. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/css/StyleSheetContents.cpp
diff --git a/Source/WebCore/css/StyleSheetContents.cpp b/Source/WebCore/css/StyleSheetContents.cpp
index 2aa36ca5f2a5eb3a6a10498f368a02cff141eff1..03854bb71a48947723037e0f0a5aa6c2c3d628c0 100644
--- a/Source/WebCore/css/StyleSheetContents.cpp
+++ b/Source/WebCore/css/StyleSheetContents.cpp
@@ -65,6 +65,7 @@ StyleSheetContents::StyleSheetContents(StyleRuleImport* ownerRule, const String&
, m_hasSyntacticallyValidCSSHeader(true)
, m_didLoadErrorOccur(false)
, m_usesRemUnits(false)
+ , m_usesViewportUnits(false)
, m_isMutable(false)
, m_isInMemoryCache(false)
, m_parserContext(context)
@@ -84,6 +85,7 @@ StyleSheetContents::StyleSheetContents(const StyleSheetContents& o)
, m_hasSyntacticallyValidCSSHeader(o.m_hasSyntacticallyValidCSSHeader)
, m_didLoadErrorOccur(false)
, m_usesRemUnits(o.m_usesRemUnits)
+ , m_usesViewportUnits(o.m_usesViewportUnits)
, m_isMutable(false)
, m_isInMemoryCache(false)
, m_parserContext(o.m_parserContext)

Powered by Google App Engine
This is Rietveld 408576698