| Index: Source/core/svg/LinearGradientAttributes.h
|
| diff --git a/Source/core/svg/LinearGradientAttributes.h b/Source/core/svg/LinearGradientAttributes.h
|
| index 4aafd012ce352939881f11865c1b4512f7507344..0e5b254c7690fecd53d05f29dfaf4edad708ea61 100644
|
| --- a/Source/core/svg/LinearGradientAttributes.h
|
| +++ b/Source/core/svg/LinearGradientAttributes.h
|
| @@ -78,6 +78,28 @@ private:
|
| bool m_y2Set : 1;
|
| };
|
|
|
| +#if ENABLE(OILPAN)
|
| +// Wrapper object for the LinearGradientAttributes part object.
|
| +class LinearGradientAttributesWrapper : public GarbageCollectedFinalized<LinearGradientAttributesWrapper> {
|
| +public:
|
| + static LinearGradientAttributesWrapper* create()
|
| + {
|
| + return new LinearGradientAttributesWrapper;
|
| + }
|
| +
|
| + LinearGradientAttributes& attributes() { return m_attributes; }
|
| + void set(const LinearGradientAttributes& attributes) { m_attributes = attributes; }
|
| + void trace(Visitor* visitor) { visitor->trace(m_attributes); }
|
| +
|
| +private:
|
| + LinearGradientAttributesWrapper()
|
| + {
|
| + }
|
| +
|
| + LinearGradientAttributes m_attributes;
|
| +};
|
| +#endif
|
| +
|
| } // namespace blink
|
|
|
| #endif
|
|
|