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

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

Issue 1933713002: Store separator info of counters as CSSStringValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch for landing Created 4 years, 7 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/ComputedStyleCSSValueMapping.cpp
diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
index 88e679acc1c70121e23ba33dbc810cf23e8edb7b..8574c6fcade57f7893c4a8d09b6f22ae9a85248a 100644
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
@@ -1137,7 +1137,7 @@ static CSSValue* valueForContentData(const ComputedStyle& style)
const CounterContent* counter = toCounterContentData(contentData)->counter();
ASSERT(counter);
CSSCustomIdentValue* identifier = CSSCustomIdentValue::create(counter->identifier());
- CSSCustomIdentValue* separator = CSSCustomIdentValue::create(counter->separator());
+ CSSStringValue* separator = CSSStringValue::create(counter->separator());
CSSValueID listStyleIdent = CSSValueNone;
if (counter->listStyle() != NoneListStyle)
listStyleIdent = static_cast<CSSValueID>(CSSValueDisc + counter->listStyle());

Powered by Google App Engine
This is Rietveld 408576698