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 3c1a0013941d4848967a70044855dc18b8229ea9..ae3d78c6608c4ca89226a7272d245209d69698af 100644 |
--- a/third_party/WebKit/Source/core/css/StyleSheetContents.h |
+++ b/third_party/WebKit/Source/core/css/StyleSheetContents.h |
@@ -82,6 +82,7 @@ public: |
bool hasSingleOwnerNode() const; |
Node* singleOwnerNode() const; |
Document* singleOwnerDocument() const; |
+ bool hasSingleOwnerDocument() const { return m_hasSingleOwnerDocument; } |
const String& charset() const { return m_parserContext.charset(); } |
@@ -140,7 +141,8 @@ public: |
bool isMutable() const { return m_isMutable; } |
void setMutable() { m_isMutable = true; } |
- void removeSheetFromCache(Document*); |
+ bool isUsedFromTextCache() const { return m_isUsedFromTextCache; } |
+ void setIsUsedFromTextCache() { m_isUsedFromTextCache = true; } |
bool isReferencedFromResource() const { return m_referencedFromResource; } |
void setReferencedFromResource(CSSStyleSheetResource*); |
@@ -186,6 +188,7 @@ private: |
bool m_hasFontFaceRule : 1; |
bool m_hasMediaQueries : 1; |
bool m_hasSingleOwnerDocument : 1; |
+ bool m_isUsedFromTextCache : 1; |
CSSParserContext m_parserContext; |