summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/core/css/CSSBorderImageSliceValue.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/css/CSSBorderImageSliceValue.h')
-rw-r--r--chromium/third_party/WebKit/Source/core/css/CSSBorderImageSliceValue.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/chromium/third_party/WebKit/Source/core/css/CSSBorderImageSliceValue.h b/chromium/third_party/WebKit/Source/core/css/CSSBorderImageSliceValue.h
index 7d297ea9be0..c2b4716d790 100644
--- a/chromium/third_party/WebKit/Source/core/css/CSSBorderImageSliceValue.h
+++ b/chromium/third_party/WebKit/Source/core/css/CSSBorderImageSliceValue.h
@@ -36,9 +36,9 @@ class Rect;
class CSSBorderImageSliceValue : public CSSValue {
public:
- static PassRefPtr<CSSBorderImageSliceValue> create(PassRefPtr<CSSPrimitiveValue> slices, bool fill)
+ static PassRefPtrWillBeRawPtr<CSSBorderImageSliceValue> create(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> slices, bool fill)
{
- return adoptRef(new CSSBorderImageSliceValue(slices, fill));
+ return adoptRefWillBeNoop(new CSSBorderImageSliceValue(slices, fill));
}
String customCSSText() const;
@@ -47,13 +47,15 @@ public:
bool equals(const CSSBorderImageSliceValue&) const;
+ void traceAfterDispatch(Visitor*);
+
// These four values are used to make "cuts" in the border image. They can be numbers
// or percentages.
- RefPtr<CSSPrimitiveValue> m_slices;
+ RefPtrWillBeMember<CSSPrimitiveValue> m_slices;
bool m_fill;
private:
- CSSBorderImageSliceValue(PassRefPtr<CSSPrimitiveValue> slices, bool fill);
+ CSSBorderImageSliceValue(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> slices, bool fill);
};
DEFINE_CSS_VALUE_TYPE_CASTS(CSSBorderImageSliceValue, isBorderImageSliceValue());