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

Unified Diff: Source/WebCore/dom/DocumentStyleSheetCollection.h

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/dom/DocumentStyleSheetCollection.h
diff --git a/Source/WebCore/dom/DocumentStyleSheetCollection.h b/Source/WebCore/dom/DocumentStyleSheetCollection.h
index 51997fa8e11097c8a34fbd4009f631c14395da60..c7a3d82a1d1bc84fd42be123b8a2ca1e3b54e0dd 100644
--- a/Source/WebCore/dom/DocumentStyleSheetCollection.h
+++ b/Source/WebCore/dom/DocumentStyleSheetCollection.h
@@ -99,6 +99,8 @@ public:
void setUsesBeforeAfterRulesOverride(bool b) { m_usesBeforeAfterRulesOverride = b; }
bool usesRemUnits() const { return m_usesRemUnits; }
void setUsesRemUnit(bool b) { m_usesRemUnits = b; }
+ bool usesViewportUnits() const { return m_usesViewportUnits; }
+ void setUsesViewportUnit(bool b) { m_usesViewportUnits = b; }
void combineCSSFeatureFlags();
void resetCSSFeatureFlags();
@@ -152,6 +154,7 @@ private:
bool m_usesBeforeAfterRules;
bool m_usesBeforeAfterRulesOverride;
bool m_usesRemUnits;
+ bool m_usesViewportUnits;
};
}

Powered by Google App Engine
This is Rietveld 408576698