Index: Source/core/svg/RadialGradientAttributes.h |
diff --git a/Source/core/svg/RadialGradientAttributes.h b/Source/core/svg/RadialGradientAttributes.h |
index 9ea976a2f1a29469f43fa4fdd1cfac57e0f91847..46d15a98ddd3eccd01f2da2646f29b555423a883 100644 |
--- a/Source/core/svg/RadialGradientAttributes.h |
+++ b/Source/core/svg/RadialGradientAttributes.h |
@@ -94,6 +94,28 @@ private: |
bool m_frSet : 1; |
}; |
+#if ENABLE(OILPAN) |
+// Wrapper object for the RadialGradientAttributes part object. |
+class RadialGradientAttributesWrapper : public GarbageCollectedFinalized<RadialGradientAttributesWrapper> { |
+public: |
+ static RadialGradientAttributesWrapper* create() |
+ { |
+ return new RadialGradientAttributesWrapper; |
+ } |
+ |
+ RadialGradientAttributes& attributes() { return m_attributes; } |
+ void set(const RadialGradientAttributes& attributes) { m_attributes = attributes; } |
+ void trace(Visitor* visitor) { visitor->trace(m_attributes); } |
+ |
+private: |
+ RadialGradientAttributesWrapper() |
+ { |
+ } |
+ |
+ RadialGradientAttributes m_attributes; |
+}; |
+#endif |
+ |
} // namespace blink |
#endif |