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

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

Issue 2346193002: Split CSSPrimitiveValue into CSSPrimitiveValue and CSSIdentifierValue (Closed)
Patch Set: Rebase please work 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/CSSReflectValue.h
diff --git a/third_party/WebKit/Source/core/css/CSSReflectValue.h b/third_party/WebKit/Source/core/css/CSSReflectValue.h
index c7eb172340d655915f10f5592783fd8235e00783..1a5fcd30a0c68b1d2879006cca49f436db3ba040 100644
--- a/third_party/WebKit/Source/core/css/CSSReflectValue.h
+++ b/third_party/WebKit/Source/core/css/CSSReflectValue.h
@@ -32,17 +32,18 @@
namespace blink {
+class CSSIdentifierValue;
class CSSPrimitiveValue;
class CSSReflectValue : public CSSValue {
public:
- static CSSReflectValue* create(CSSPrimitiveValue* direction,
+ static CSSReflectValue* create(CSSIdentifierValue* direction,
CSSPrimitiveValue* offset, CSSValue* mask)
{
return new CSSReflectValue(direction, offset, mask);
}
- CSSPrimitiveValue* direction() const { return m_direction.get(); }
+ CSSIdentifierValue* direction() const { return m_direction.get(); }
CSSPrimitiveValue* offset() const { return m_offset.get(); }
CSSValue* mask() const { return m_mask.get(); }
@@ -53,7 +54,7 @@ public:
DECLARE_TRACE_AFTER_DISPATCH();
private:
- CSSReflectValue(CSSPrimitiveValue* direction, CSSPrimitiveValue* offset, CSSValue* mask)
+ CSSReflectValue(CSSIdentifierValue* direction, CSSPrimitiveValue* offset, CSSValue* mask)
: CSSValue(ReflectClass)
, m_direction(direction)
, m_offset(offset)
@@ -61,7 +62,7 @@ private:
{
}
- Member<CSSPrimitiveValue> m_direction;
+ Member<CSSIdentifierValue> m_direction;
Member<CSSPrimitiveValue> m_offset;
Member<CSSValue> m_mask;
};
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSQuadValue.h ('k') | third_party/WebKit/Source/core/css/CSSReflectValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698