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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/svg/LinearGradientAttributes.h ('k') | Source/core/svg/RadialGradientAttributes.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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 bool m_widthSet : 1; 166 bool m_widthSet : 1;
167 bool m_heightSet : 1; 167 bool m_heightSet : 1;
168 bool m_viewBoxSet : 1; 168 bool m_viewBoxSet : 1;
169 bool m_preserveAspectRatioSet : 1; 169 bool m_preserveAspectRatioSet : 1;
170 bool m_patternUnitsSet : 1; 170 bool m_patternUnitsSet : 1;
171 bool m_patternContentUnitsSet : 1; 171 bool m_patternContentUnitsSet : 1;
172 bool m_patternTransformSet : 1; 172 bool m_patternTransformSet : 1;
173 bool m_patternContentElementSet : 1; 173 bool m_patternContentElementSet : 1;
174 }; 174 };
175 175
176 #if ENABLE(OILPAN)
177 // Wrapper object for the PatternAttributes part object.
178 class PatternAttributesWrapper : public GarbageCollectedFinalized<PatternAttribu tesWrapper> {
179 public:
180 static PatternAttributesWrapper* create()
181 {
182 return new PatternAttributesWrapper;
183 }
184
185 PatternAttributes& attributes() { return m_attributes; }
186 void set(const PatternAttributes& attributes) { m_attributes = attributes; }
187 void trace(Visitor* visitor) { visitor->trace(m_attributes); }
188
189 private:
190 PatternAttributesWrapper()
191 {
192 }
193
194 PatternAttributes m_attributes;
195 };
196 #endif
197
176 } // namespace blink 198 } // namespace blink
177 199
178 #endif // PatternAttributes_h 200 #endif // PatternAttributes_h
OLDNEW
« 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