| Index: Source/core/css/StyleSheetContents.h
|
| diff --git a/Source/core/css/StyleSheetContents.h b/Source/core/css/StyleSheetContents.h
|
| index cb03edab91ee730b88992d6d61ac280691b7238c..b719bad4e22286c35fe5ff2a6443ec230ddf55f2 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:
|
| @@ -103,6 +104,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*);
|
|
|
| @@ -122,7 +124,7 @@ public:
|
| unsigned estimatedSizeInBytes() const;
|
|
|
| bool wrapperInsertRule(PassRefPtrWillBeRawPtr<StyleRuleBase>, unsigned index);
|
| - void wrapperDeleteRule(unsigned index);
|
| + bool wrapperDeleteRule(unsigned index);
|
|
|
| PassRefPtrWillBeRawPtr<StyleSheetContents> copy() const
|
| {
|
| @@ -172,6 +174,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;
|
|
|