OLD | NEW |
1 /* | 1 /* |
2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2013 Apple Inc.
All rights reserved. |
4 * Copyright (C) 2011 Research In Motion Limited. All rights reserved. | 4 * Copyright (C) 2011 Research In Motion Limited. All rights reserved. |
5 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 5 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 | 155 |
156 void StylePropertySet::trace(Visitor* visitor) | 156 void StylePropertySet::trace(Visitor* visitor) |
157 { | 157 { |
158 if (m_isMutable) | 158 if (m_isMutable) |
159 toMutableStylePropertySet(this)->traceAfterDispatch(visitor); | 159 toMutableStylePropertySet(this)->traceAfterDispatch(visitor); |
160 else | 160 else |
161 toImmutableStylePropertySet(this)->traceAfterDispatch(visitor); | 161 toImmutableStylePropertySet(this)->traceAfterDispatch(visitor); |
162 } | 162 } |
163 | 163 |
164 #if ENABLE(OILPAN) | 164 #if ENABLE(OILPAN) |
165 void StylePropertySet::finalize() | 165 void StylePropertySet::finalizeGarbageCollectedObject() |
166 { | 166 { |
167 if (m_isMutable) | 167 if (m_isMutable) |
168 toMutableStylePropertySet(this)->~MutableStylePropertySet(); | 168 toMutableStylePropertySet(this)->~MutableStylePropertySet(); |
169 else | 169 else |
170 toImmutableStylePropertySet(this)->~ImmutableStylePropertySet(); | 170 toImmutableStylePropertySet(this)->~ImmutableStylePropertySet(); |
171 } | 171 } |
172 #endif | 172 #endif |
173 | 173 |
174 bool MutableStylePropertySet::removeShorthandProperty(CSSPropertyID propertyID) | 174 bool MutableStylePropertySet::removeShorthandProperty(CSSPropertyID propertyID) |
175 { | 175 { |
(...skipping 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
607 result.appendLiteral(": "); | 607 result.appendLiteral(": "); |
608 result.append(propertyValue()->cssText()); | 608 result.append(propertyValue()->cssText()); |
609 if (isImportant()) | 609 if (isImportant()) |
610 result.appendLiteral(" !important"); | 610 result.appendLiteral(" !important"); |
611 result.append(';'); | 611 result.append(';'); |
612 return result.toString(); | 612 return result.toString(); |
613 } | 613 } |
614 | 614 |
615 | 615 |
616 } // namespace WebCore | 616 } // namespace WebCore |
OLD | NEW |