| Index: Source/core/css/CSSGradientValue.h
|
| diff --git a/Source/core/css/CSSGradientValue.h b/Source/core/css/CSSGradientValue.h
|
| index 70e38460996dac730d072ee76f59ab7bc465abd6..4a5f7c0ac252a57800ac5994da25933c029b22b8 100644
|
| --- a/Source/core/css/CSSGradientValue.h
|
| +++ b/Source/core/css/CSSGradientValue.h
|
| @@ -65,6 +65,11 @@ public:
|
| return compareCSSValuePtr(m_color, other.m_color)
|
| && compareCSSValuePtr(m_position, other.m_position);
|
| }
|
| + bool isHint() const
|
| + {
|
| + ASSERT(m_color || m_position);
|
| + return !m_color;
|
| + }
|
|
|
| void trace(Visitor*);
|
| };
|
|
|