Index: Source/core/css/StyleSheetContents.h |
diff --git a/Source/core/css/StyleSheetContents.h b/Source/core/css/StyleSheetContents.h |
index 84631536ea7f121e7d475226223d2dc6a7fa0552..03df1e2e41cb4185ebfe2f3cec5cc8aa9b26467e 100644 |
--- a/Source/core/css/StyleSheetContents.h |
+++ b/Source/core/css/StyleSheetContents.h |
@@ -97,14 +97,11 @@ public: |
void parserAddNamespace(const AtomicString& prefix, const AtomicString& uri); |
void parserAppendRule(PassRefPtrWillBeRawPtr<StyleRuleBase>); |
- void parserSetEncodingFromCharsetRule(const String& encoding); |
void parserSetUsesRemUnits(bool b) { m_usesRemUnits = b; } |
void clearRules(); |
- bool hasCharsetRule() const { return !m_encodingFromCharsetRule.isNull(); } |
- String encodingFromCharsetRule() const { return m_encodingFromCharsetRule; } |
- // Rules other than @charset and @import. |
+ // Rules other than @import. |
const WillBeHeapVector<RefPtrWillBeMember<StyleRuleBase> >& childRules() const { return m_childRules; } |
const WillBeHeapVector<RefPtrWillBeMember<StyleRuleImport> >& importRules() const { return m_importRules; } |
@@ -169,13 +166,11 @@ private: |
void notifyRemoveFontFaceRule(const StyleRuleFontFace*); |
Document* clientSingleOwnerDocument() const; |
- void clearCharsetRule(); |
RawPtrWillBeMember<StyleRuleImport> m_ownerRule; |
String m_originalURL; |
- String m_encodingFromCharsetRule; |
WillBeHeapVector<RefPtrWillBeMember<StyleRuleImport> > m_importRules; |
WillBeHeapVector<RefPtrWillBeMember<StyleRuleBase> > m_childRules; |
typedef HashMap<AtomicString, AtomicString> PrefixNamespaceURIMap; |