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

Side by Side Diff: Source/core/svg/LinearGradientAttributes.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/rendering/svg/RenderSVGRoot.cpp ('k') | Source/core/svg/PatternAttributes.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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 RefPtrWillBeMember<SVGLength> m_x2; 71 RefPtrWillBeMember<SVGLength> m_x2;
72 RefPtrWillBeMember<SVGLength> m_y2; 72 RefPtrWillBeMember<SVGLength> m_y2;
73 73
74 // Property states 74 // Property states
75 bool m_x1Set : 1; 75 bool m_x1Set : 1;
76 bool m_y1Set : 1; 76 bool m_y1Set : 1;
77 bool m_x2Set : 1; 77 bool m_x2Set : 1;
78 bool m_y2Set : 1; 78 bool m_y2Set : 1;
79 }; 79 };
80 80
81 #if ENABLE(OILPAN)
82 // Wrapper object for the LinearGradientAttributes part object.
83 class LinearGradientAttributesWrapper : public GarbageCollectedFinalized<LinearG radientAttributesWrapper> {
84 public:
85 static LinearGradientAttributesWrapper* create()
86 {
87 return new LinearGradientAttributesWrapper;
88 }
89
90 LinearGradientAttributes& attributes() { return m_attributes; }
91 void set(const LinearGradientAttributes& attributes) { m_attributes = attrib utes; }
92 void trace(Visitor* visitor) { visitor->trace(m_attributes); }
93
94 private:
95 LinearGradientAttributesWrapper()
96 {
97 }
98
99 LinearGradientAttributes m_attributes;
100 };
101 #endif
102
81 } // namespace blink 103 } // namespace blink
82 104
83 #endif 105 #endif
84 106
85 // vim:ts=4:noet 107 // vim:ts=4:noet
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGRoot.cpp ('k') | Source/core/svg/PatternAttributes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698