Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1513)

Unified Diff: Source/core/svg/PatternAttributes.h

Issue 869323003: Oilpan: move RenderObjects off heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: review-induced improvements Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/LinearGradientAttributes.h ('k') | Source/core/svg/RadialGradientAttributes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/svg/LinearGradientAttributes.h ('k') | Source/core/svg/RadialGradientAttributes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698