Index: third_party/WebKit/Source/core/css/resolver/StyleResolver.h |
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.h b/third_party/WebKit/Source/core/css/resolver/StyleResolver.h |
index bb317bc1703e9cf234a716dc8c7cc35fdc62e04b..50e563e4cc2532eacfeafd4f2eccff99e8b5ed3c 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.h |
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.h |
@@ -176,9 +176,10 @@ class CORE_EXPORT StyleResolver final |
PseudoElement* createPseudoElementIfNeeded(Element& parent, PseudoId); |
- DECLARE_TRACE(); |
- |
void setRuleUsageTracker(StyleRuleUsageTracker*); |
+ void updateMediaType(); |
+ |
+ DECLARE_TRACE(); |
private: |
explicit StyleResolver(Document&); |
@@ -323,13 +324,12 @@ class CORE_EXPORT StyleResolver final |
PseudoElement* createPseudoElement(Element* parent, PseudoId); |
- Document& document() { return *m_document; } |
+ Document& document() const { return *m_document; } |
static ComputedStyle* s_styleNotYetAvailable; |
MatchedPropertiesCache m_matchedPropertiesCache; |
- Member<MediaQueryEvaluator> m_medium; |
MediaQueryResultList m_viewportDependentMediaQueryResults; |
MediaQueryResultList m_deviceDependentMediaQueryResults; |
@@ -340,9 +340,9 @@ class CORE_EXPORT StyleResolver final |
Member<StyleRuleUsageTracker> m_tracker; |
- bool m_printMediaType; |
+ bool m_printMediaType = false; |
- unsigned m_styleSharingDepth; |
+ unsigned m_styleSharingDepth = 0; |
HeapVector<Member<StyleSharingList>, styleSharingMaxDepth> |
m_styleSharingLists; |
}; |