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

Side by Side Diff: third_party/WebKit/Source/core/svg/PatternAttributes.h

Issue 1929493002: Remove unnecessary uses of GarbageCollectedFinalized<>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add two leftover classes needing same treatment Created 4 years, 7 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
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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 // Wrapper object for the PatternAttributes part object. 176 // Wrapper object for the PatternAttributes part object.
177 class PatternAttributesWrapper : public GarbageCollectedFinalized<PatternAttribu tesWrapper> { 177 class PatternAttributesWrapper : public GarbageCollected<PatternAttributesWrappe r> {
178 public: 178 public:
179 static PatternAttributesWrapper* create() 179 static PatternAttributesWrapper* create()
180 { 180 {
181 return new PatternAttributesWrapper; 181 return new PatternAttributesWrapper;
182 } 182 }
183 183
184 PatternAttributes& attributes() { return m_attributes; } 184 PatternAttributes& attributes() { return m_attributes; }
185 void set(const PatternAttributes& attributes) { m_attributes = attributes; } 185 void set(const PatternAttributes& attributes) { m_attributes = attributes; }
186 DEFINE_INLINE_TRACE() { visitor->trace(m_attributes); } 186 DEFINE_INLINE_TRACE() { visitor->trace(m_attributes); }
187 187
188 private: 188 private:
189 PatternAttributesWrapper() 189 PatternAttributesWrapper()
190 { 190 {
191 } 191 }
192 192
193 PatternAttributes m_attributes; 193 PatternAttributes m_attributes;
194 }; 194 };
195 195
196 } // namespace blink 196 } // namespace blink
197 197
198 #endif // PatternAttributes_h 198 #endif // PatternAttributes_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/FocusController.h ('k') | third_party/WebKit/Source/core/svg/SVGMatrixTearOff.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698