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

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

Issue 2358203003: CSS Properties and Values API: Use initial value where appropriate for var() (Closed)
Patch Set: bla Created 4 years, 3 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
Index: third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp b/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp
index a35e46a2f0d4fd1edad08375956c10527d53ae8a..3e4f246ebfa87977ee325a7cf46886d9dab57693 100644
--- a/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp
+++ b/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp
@@ -10,7 +10,6 @@
#include "core/css/CSSVariableReferenceValue.h"
#include "core/css/parser/CSSParserIdioms.h"
#include "core/css/parser/CSSPropertyParserHelpers.h"
-#include "core/css/parser/CSSTokenizer.h"
#include "core/css/parser/CSSVariableParser.h"
#include "core/html/parser/HTMLParserIdioms.h"
@@ -196,12 +195,6 @@ const CSSValue* consumeSyntaxComponent(const CSSSyntaxComponent& syntax, CSSPars
return result;
}
-const CSSValue* CSSSyntaxDescriptor::parse(const String& value) const
-{
- CSSTokenizer::Scope scope(value);
- return parse(scope.tokenRange());
-}
-
const CSSValue* CSSSyntaxDescriptor::parse(CSSParserTokenRange range) const
{
if (isTokenStream())

Powered by Google App Engine
This is Rietveld 408576698