| Index: Source/core/css/CSSReflectValue.h
|
| diff --git a/Source/core/css/CSSReflectValue.h b/Source/core/css/CSSReflectValue.h
|
| index 6dd80ebea70c7955ae1451214301449caf1458a2..5e68147086ec51062530ebf99359f5fb2b0da454 100644
|
| --- a/Source/core/css/CSSReflectValue.h
|
| +++ b/Source/core/css/CSSReflectValue.h
|
| @@ -36,15 +36,15 @@ class CSSPrimitiveValue;
|
|
|
| class CSSReflectValue : public CSSValueObject {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<CSSReflectValue> create(CSSPrimitiveValue direction,
|
| - CSSPrimitiveValue offset, NullableCSSValue mask)
|
| + static PassRefPtrWillBeRawPtr<CSSReflectValue> create(const CSSPrimitiveValue& direction,
|
| + const CSSPrimitiveValue& offset, const NullableCSSValue& mask)
|
| {
|
| return adoptRefWillBeNoop(new CSSReflectValue(direction, offset, mask));
|
| }
|
|
|
| - CSSPrimitiveValue direction() const { return toCSSPrimitiveValue(m_direction); }
|
| - CSSPrimitiveValue offset() const { return toCSSPrimitiveValue(m_offset); }
|
| - NullableCSSValue mask() const { return m_mask; }
|
| + const CSSPrimitiveValue& direction() const { return toCSSPrimitiveValue(m_direction); }
|
| + const CSSPrimitiveValue& offset() const { return toCSSPrimitiveValue(m_offset); }
|
| + const NullableCSSValue& mask() const { return m_mask; }
|
|
|
| String customCSSText() const;
|
|
|
| @@ -53,7 +53,7 @@ public:
|
| DECLARE_TRACE_AFTER_DISPATCH();
|
|
|
| private:
|
| - CSSReflectValue(CSSPrimitiveValue direction, CSSPrimitiveValue offset, NullableCSSValue mask)
|
| + CSSReflectValue(const CSSPrimitiveValue& direction, const CSSPrimitiveValue& offset, const NullableCSSValue& mask)
|
| : CSSValueObject(ReflectClass)
|
| , m_direction(direction)
|
| , m_offset(offset)
|
|
|