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

Unified Diff: Source/core/svg/RadialGradientAttributes.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/PatternAttributes.h ('k') | Source/platform/heap/ThreadState.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/svg/PatternAttributes.h ('k') | Source/platform/heap/ThreadState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698