Index: Source/core/css/StyleSheetContents.h |
diff --git a/Source/core/css/StyleSheetContents.h b/Source/core/css/StyleSheetContents.h |
index aad72df37d3abc5978baffbdcff3301c66bc7104..37a3c927c2018b4462de7d88cebc733da1ccf5db 100644 |
--- a/Source/core/css/StyleSheetContents.h |
+++ b/Source/core/css/StyleSheetContents.h |
@@ -44,6 +44,7 @@ class SecurityOrigin; |
class StyleRuleBase; |
class StyleRuleFontFace; |
class StyleRuleImport; |
+class StyleRuleNamespace; |
class CORE_EXPORT StyleSheetContents : public RefCountedWillBeGarbageCollectedFinalized<StyleSheetContents> { |
public: |
@@ -102,6 +103,7 @@ public: |
// Rules other than @import. |
const WillBeHeapVector<RefPtrWillBeMember<StyleRuleBase>>& childRules() const { return m_childRules; } |
const WillBeHeapVector<RefPtrWillBeMember<StyleRuleImport>>& importRules() const { return m_importRules; } |
+ const WillBeHeapVector<RefPtrWillBeMember<StyleRuleNamespace>>& namespaceRules() const { return m_namespaceRules; } |
void notifyLoadedSheet(const CSSStyleSheetResource*); |
@@ -121,7 +123,7 @@ public: |
unsigned estimatedSizeInBytes() const; |
bool wrapperInsertRule(PassRefPtrWillBeRawPtr<StyleRuleBase>, unsigned index); |
- void wrapperDeleteRule(unsigned index); |
+ bool wrapperDeleteRule(unsigned index); |
PassRefPtrWillBeRawPtr<StyleSheetContents> copy() const |
{ |
@@ -171,6 +173,7 @@ private: |
String m_originalURL; |
WillBeHeapVector<RefPtrWillBeMember<StyleRuleImport>> m_importRules; |
+ WillBeHeapVector<RefPtrWillBeMember<StyleRuleNamespace>> m_namespaceRules; |
WillBeHeapVector<RefPtrWillBeMember<StyleRuleBase>> m_childRules; |
typedef HashMap<AtomicString, AtomicString> PrefixNamespaceURIMap; |
PrefixNamespaceURIMap m_namespaces; |