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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/svg/PatternAttributes.h ('k') | Source/platform/heap/ThreadState.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org>
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 // Property states 88 // Property states
89 bool m_cxSet : 1; 89 bool m_cxSet : 1;
90 bool m_cySet : 1; 90 bool m_cySet : 1;
91 bool m_rSet : 1; 91 bool m_rSet : 1;
92 bool m_fxSet : 1; 92 bool m_fxSet : 1;
93 bool m_fySet : 1; 93 bool m_fySet : 1;
94 bool m_frSet : 1; 94 bool m_frSet : 1;
95 }; 95 };
96 96
97 #if ENABLE(OILPAN)
98 // Wrapper object for the RadialGradientAttributes part object.
99 class RadialGradientAttributesWrapper : public GarbageCollectedFinalized<RadialG radientAttributesWrapper> {
100 public:
101 static RadialGradientAttributesWrapper* create()
102 {
103 return new RadialGradientAttributesWrapper;
104 }
105
106 RadialGradientAttributes& attributes() { return m_attributes; }
107 void set(const RadialGradientAttributes& attributes) { m_attributes = attrib utes; }
108 void trace(Visitor* visitor) { visitor->trace(m_attributes); }
109
110 private:
111 RadialGradientAttributesWrapper()
112 {
113 }
114
115 RadialGradientAttributes m_attributes;
116 };
117 #endif
118
97 } // namespace blink 119 } // namespace blink
98 120
99 #endif 121 #endif
OLDNEW
« 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