Chromium Code Reviews| Index: Source/core/css/CSSCounterValue.cpp |
| diff --git a/Source/core/css/CSSCounterValue.cpp b/Source/core/css/CSSCounterValue.cpp |
| index 6a1f0698768175dd1086da613b091acc7504ae67..7e286d1e8f944ec3a40a1bac93bf2995dd376fa4 100644 |
| --- a/Source/core/css/CSSCounterValue.cpp |
| +++ b/Source/core/css/CSSCounterValue.cpp |
| @@ -23,10 +23,10 @@ String CSSCounterValue::customCSSText() const |
| result.appendLiteral(", "); |
| result.append(serializeString(separator())); |
| } |
| - bool isDefaultListStyle = listStyleIdent() == CSSValueDecimal; |
| - if (!listStyle().isEmpty() && !isDefaultListStyle) { |
| + bool isDefaultListStyle = listStyle() == CSSValueDecimal; |
| + if (!m_listStyle->cssText().isEmpty() && !isDefaultListStyle) { |
|
Timothy Loh
2015/08/27 07:18:41
it's never empty :S
sashab
2015/08/28 00:50:30
You are correct!
|
| result.appendLiteral(", "); |
| - result.append(listStyle()); |
| + result.append(m_listStyle->cssText()); |
| } |
| result.append(')'); |