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

Unified Diff: sky/engine/core/css/parser/BisonCSSParser.h

Issue 788113002: Simplify HTMLStyleElement. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « sky/engine/core/css/StyleSheetContents.cpp ('k') | sky/engine/core/css/parser/BisonCSSParser-in.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/parser/BisonCSSParser.h
diff --git a/sky/engine/core/css/parser/BisonCSSParser.h b/sky/engine/core/css/parser/BisonCSSParser.h
index e8bb0c1499c5c9de4a989830a47c6e2ee69d6cf6..93613a9a1fdf3643f1c93b2c80f1b6685ff3c527 100644
--- a/sky/engine/core/css/parser/BisonCSSParser.h
+++ b/sky/engine/core/css/parser/BisonCSSParser.h
@@ -86,7 +86,7 @@ public:
void rollbackLastProperties(int num);
void setCurrentProperty(CSSPropertyID);
- void parseSheet(StyleSheetContents*, const String&, const TextPosition& startPosition = TextPosition::minimumPosition(), CSSParserObserver* = 0, bool = false);
+ void parseSheet(StyleSheetContents*, const String&);
PassRefPtr<StyleRuleBase> parseRule(StyleSheetContents*, const String&);
PassRefPtr<StyleKeyframe> parseKeyframeRule(StyleSheetContents*, const String&);
bool parseSupportsCondition(const String&);
@@ -184,7 +184,6 @@ public:
unsigned m_numParsedPropertiesBeforeMarginBox;
bool m_hadSyntacticallyValidCSSRule;
- bool m_logErrors;
bool m_ignoreErrors;
AtomicString m_defaultNamespace;
@@ -205,8 +204,7 @@ public:
void startEndUnknownRule();
void endInvalidRuleHeader();
- void reportError(const CSSParserLocation&, CSSParserError = GeneralCSSError);
- void resumeErrorLogging() { m_ignoreErrors = false; }
+ void reportError(const CSSParserLocation&, CSSParserError = GeneralCSSError) { }
void setLocationLabel(const CSSParserLocation& location) { m_locationLabel = location; }
const CSSParserLocation& lastLocationLabel() const { return m_locationLabel; }
@@ -270,9 +268,6 @@ private:
OwnPtr<RuleSourceDataList> m_supportsRuleDataStack;
- bool isLoggingErrors();
- void logError(const String& message, const CSSParserLocation&);
-
CSSTokenizer m_tokenizer;
friend class TransformOperationInfo;
« no previous file with comments | « sky/engine/core/css/StyleSheetContents.cpp ('k') | sky/engine/core/css/parser/BisonCSSParser-in.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698