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

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

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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSCounterValue.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/CSSCounterValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSCounterValue.h b/third_party/WebKit/Source/core/css/CSSCounterValue.h
index 0e4217b2d0af5d63f0a69c6a26283b16accd9336..6ff363a3fdcd03fb1df6c5cc1ff44ac51e48ca04 100644
--- a/third_party/WebKit/Source/core/css/CSSCounterValue.h
+++ b/third_party/WebKit/Source/core/css/CSSCounterValue.h
@@ -23,14 +23,14 @@
#include "core/css/CSSCustomIdentValue.h"
#include "core/css/CSSPrimitiveValue.h"
-#include "core/css/CSSValue.h"
+#include "core/css/CSSStringValue.h"
#include "wtf/text/WTFString.h"
namespace blink {
class CSSCounterValue : public CSSValue {
public:
- static CSSCounterValue* create(CSSCustomIdentValue* identifier, CSSPrimitiveValue* listStyle, CSSCustomIdentValue* separator)
+ static CSSCounterValue* create(CSSCustomIdentValue* identifier, CSSPrimitiveValue* listStyle, CSSStringValue* separator)
{
return new CSSCounterValue(identifier, listStyle, separator);
}
@@ -51,7 +51,7 @@ public:
DECLARE_TRACE_AFTER_DISPATCH();
private:
- CSSCounterValue(CSSCustomIdentValue* identifier, CSSPrimitiveValue* listStyle, CSSCustomIdentValue* separator)
+ CSSCounterValue(CSSCustomIdentValue* identifier, CSSPrimitiveValue* listStyle, CSSStringValue* separator)
: CSSValue(CounterClass)
, m_identifier(identifier)
, m_listStyle(listStyle)
@@ -62,7 +62,7 @@ private:
Member<CSSCustomIdentValue> m_identifier; // string
Member<CSSPrimitiveValue> m_listStyle; // ident
- Member<CSSCustomIdentValue> m_separator; // string
+ Member<CSSStringValue> m_separator; // string
};
DEFINE_CSS_VALUE_TYPE_CASTS(CSSCounterValue, isCounterValue());
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSCounterValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698