Index: third_party/WebKit/Source/core/css/StyleSheetContents.h |
diff --git a/third_party/WebKit/Source/core/css/StyleSheetContents.h b/third_party/WebKit/Source/core/css/StyleSheetContents.h |
index af8aad317e489eb079ee850efdd439f8f04e0e80..954dd098fa15e7ec84a2cc0dfdbe9d509e1c18cd 100644 |
--- a/third_party/WebKit/Source/core/css/StyleSheetContents.h |
+++ b/third_party/WebKit/Source/core/css/StyleSheetContents.h |
@@ -101,6 +101,9 @@ class CORE_EXPORT StyleSheetContents |
void findFontFaceRules( |
HeapVector<Member<const StyleRuleFontFace>>& fontFaceRules); |
+ void setHasViewportRule() { m_hasViewportRule = true; } |
+ bool hasViewportRule() const { return m_hasViewportRule; } |
+ |
void parserAddNamespace(const AtomicString& prefix, const AtomicString& uri); |
void parserAppendRule(StyleRuleBase*); |
@@ -201,6 +204,7 @@ class CORE_EXPORT StyleSheetContents |
bool m_didLoadErrorOccur : 1; |
bool m_isMutable : 1; |
bool m_hasFontFaceRule : 1; |
+ bool m_hasViewportRule : 1; |
bool m_hasMediaQueries : 1; |
bool m_hasSingleOwnerDocument : 1; |
bool m_isUsedFromTextCache : 1; |