Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(553)

Unified Diff: Source/core/css/StyleSheetContents.h

Issue 756313002: Remove CSSCharsetRule (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tests Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/css/StyleRule.h ('k') | Source/core/css/StyleSheetContents.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/css/StyleRule.h ('k') | Source/core/css/StyleSheetContents.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698