OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009, 2010 Apple Inc. All rights reserved. |
3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com> | 3 * Copyright (C) 2008 David Smith <catfish.man@gmail.com> |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 , m_tabindex(0) | 165 , m_tabindex(0) |
166 , m_proxyCount(0) | 166 , m_proxyCount(0) |
167 , m_minimumSizeForResizing(defaultMinimumSizeForResizing()) | 167 , m_minimumSizeForResizing(defaultMinimumSizeForResizing()) |
168 { | 168 { |
169 m_isElementRareData = true; | 169 m_isElementRareData = true; |
170 } | 170 } |
171 | 171 |
172 inline ElementRareData::~ElementRareData() | 172 inline ElementRareData::~ElementRareData() |
173 { | 173 { |
174 #if !ENABLE(OILPAN) | 174 #if !ENABLE(OILPAN) |
| 175 if (m_elementAnimations) |
| 176 m_elementAnimations->dispose(); |
175 ASSERT(!m_shadow); | 177 ASSERT(!m_shadow); |
176 #endif | 178 #endif |
177 ASSERT(!m_generatedBefore); | 179 ASSERT(!m_generatedBefore); |
178 ASSERT(!m_generatedAfter); | 180 ASSERT(!m_generatedAfter); |
179 ASSERT(!m_generatedFirstLetter); | 181 ASSERT(!m_generatedFirstLetter); |
180 ASSERT(!m_backdrop); | 182 ASSERT(!m_backdrop); |
181 } | 183 } |
182 | 184 |
183 inline bool ElementRareData::hasPseudoElements() const | 185 inline bool ElementRareData::hasPseudoElements() const |
184 { | 186 { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 case FIRST_LETTER: | 235 case FIRST_LETTER: |
234 return m_generatedFirstLetter.get(); | 236 return m_generatedFirstLetter.get(); |
235 default: | 237 default: |
236 return 0; | 238 return 0; |
237 } | 239 } |
238 } | 240 } |
239 | 241 |
240 } // namespace | 242 } // namespace |
241 | 243 |
242 #endif // ElementRareData_h | 244 #endif // ElementRareData_h |
OLD | NEW |