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

Unified Diff: third_party/WebKit/Source/core/css/properties/CSSPropertyAPICounterIncrement.cpp

Issue 2783543002: Implemented parseSingleValue in CSSPropertyAPICounterIncrement. (Closed)
Patch Set: Changed CSSParserContext pointer to reference for compatibility with previous patch Created 3 years, 8 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 | « third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/properties/CSSPropertyAPICounterIncrement.cpp
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPICounterIncrement.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPICounterIncrement.cpp
index 5216fdff39b418c0adeeb1add011fca99d7149ef..f2c9d1fcd9747b503ff3c7efa52654be029e147a 100644
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPICounterIncrement.cpp
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPICounterIncrement.cpp
@@ -4,4 +4,15 @@
#include "core/css/properties/CSSPropertyAPICounterIncrement.h"
-namespace blink {} // namespace blink
+#include "core/css/properties/CSSPropertyCounterUtils.h"
+
+namespace blink {
+
+const CSSValue* CSSPropertyAPICounterIncrement::parseSingleValue(
+ CSSParserTokenRange& range,
+ const CSSParserContext&) {
+ return CSSPropertyCounterUtils::consumeCounter(
+ range, CSSPropertyCounterUtils::kIncrementDefaultValue);
+}
+
+} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698