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

Unified Diff: third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.h

Issue 2632083002: Provide a CSSParserContext to CSSSyntaxDescriptor (Closed)
Patch Set: Fix parser context in PropertyRegistration Created 3 years, 11 months 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 | « no previous file | third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.h
diff --git a/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.h b/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.h
index 63e9e14d5a5ae6dd8e9cbd121e5cf2a958594c92..0ff8908a051b02ba183148ca3776f1171e45e062 100644
--- a/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.h
+++ b/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.h
@@ -9,6 +9,7 @@
namespace blink {
+class CSSParserContext;
class CSSValue;
enum class CSSSyntaxType {
@@ -42,7 +43,9 @@ class CSSSyntaxDescriptor {
public:
CSSSyntaxDescriptor(String syntax);
- const CSSValue* parse(CSSParserTokenRange, bool isAnimationTainted) const;
+ const CSSValue* parse(CSSParserTokenRange,
+ const CSSParserContext*,
+ bool isAnimationTainted) const;
bool isValid() const { return !m_syntaxComponents.isEmpty(); }
bool isTokenStream() const {
return m_syntaxComponents.size() == 1 &&
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698