Index: Source/core/svg/PatternAttributes.h |
diff --git a/Source/core/svg/PatternAttributes.h b/Source/core/svg/PatternAttributes.h |
index 779e2355f984224f47223d343f15c3ba80ebaebc..b300e807d89c676ccfb8a88e4371acb706f415d4 100644 |
--- a/Source/core/svg/PatternAttributes.h |
+++ b/Source/core/svg/PatternAttributes.h |
@@ -173,6 +173,28 @@ private: |
bool m_patternContentElementSet : 1; |
}; |
+#if ENABLE(OILPAN) |
+// Wrapper object for the PatternAttributes part object. |
+class PatternAttributesWrapper : public GarbageCollectedFinalized<PatternAttributesWrapper> { |
+public: |
+ static PatternAttributesWrapper* create() |
+ { |
+ return new PatternAttributesWrapper; |
+ } |
+ |
+ PatternAttributes& attributes() { return m_attributes; } |
+ void set(const PatternAttributes& attributes) { m_attributes = attributes; } |
+ void trace(Visitor* visitor) { visitor->trace(m_attributes); } |
+ |
+private: |
+ PatternAttributesWrapper() |
+ { |
+ } |
+ |
+ PatternAttributes m_attributes; |
+}; |
+#endif |
+ |
} // namespace blink |
#endif // PatternAttributes_h |