Index: Source/core/css/CSSBorderImageSliceValue.cpp |
diff --git a/Source/core/css/CSSBorderImageSliceValue.cpp b/Source/core/css/CSSBorderImageSliceValue.cpp |
index f68080a669f8cd48371307116400da75f9873b1e..43fd6acda2c5315047b8a8ae90eed268be7aedd7 100644 |
--- a/Source/core/css/CSSBorderImageSliceValue.cpp |
+++ b/Source/core/css/CSSBorderImageSliceValue.cpp |
@@ -30,7 +30,7 @@ |
namespace blink { |
-CSSBorderImageSliceValue::CSSBorderImageSliceValue(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> slices, bool fill) |
+CSSBorderImageSliceValue::CSSBorderImageSliceValue(CSSPrimitiveValue slices, bool fill) |
: CSSValueObject(BorderImageSliceClass) |
, m_slices(slices) |
, m_fill(fill) |
@@ -40,7 +40,7 @@ CSSBorderImageSliceValue::CSSBorderImageSliceValue(PassRefPtrWillBeRawPtr<CSSPri |
String CSSBorderImageSliceValue::customCSSText() const |
{ |
// Dump the slices first. |
- String text = m_slices->cssText(); |
+ String text = m_slices.cssText(); |
// Now the fill keywords if it is present. |
if (m_fill) |
@@ -50,7 +50,7 @@ String CSSBorderImageSliceValue::customCSSText() const |
bool CSSBorderImageSliceValue::equals(const CSSBorderImageSliceValue& other) const |
{ |
- return m_fill == other.m_fill && compareCSSValuePtr(m_slices, other.m_slices); |
+ return m_fill == other.m_fill && m_slices.equals(other.m_slices); |
} |
DEFINE_TRACE_AFTER_DISPATCH(CSSBorderImageSliceValue) |