| OLD | NEW |
| 1 /* | 1 /* |
| 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) | 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org) | 3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org) |
| 4 * Copyright (C) 2002, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved. | 4 * Copyright (C) 2002, 2005, 2006, 2008, 2012 Apple Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 return; | 84 return; |
| 85 case Unknown: | 85 case Unknown: |
| 86 case Charset: | 86 case Charset: |
| 87 case Keyframe: | 87 case Keyframe: |
| 88 ASSERT_NOT_REACHED(); | 88 ASSERT_NOT_REACHED(); |
| 89 return; | 89 return; |
| 90 } | 90 } |
| 91 ASSERT_NOT_REACHED(); | 91 ASSERT_NOT_REACHED(); |
| 92 } | 92 } |
| 93 | 93 |
| 94 void StyleRuleBase::finalize() | 94 void StyleRuleBase::finalizeGarbageCollectedObject() |
| 95 { | 95 { |
| 96 switch (type()) { | 96 switch (type()) { |
| 97 case Style: | 97 case Style: |
| 98 toStyleRule(this)->~StyleRule(); | 98 toStyleRule(this)->~StyleRule(); |
| 99 return; | 99 return; |
| 100 case Page: | 100 case Page: |
| 101 toStyleRulePage(this)->~StyleRulePage(); | 101 toStyleRulePage(this)->~StyleRulePage(); |
| 102 return; | 102 return; |
| 103 case FontFace: | 103 case FontFace: |
| 104 toStyleRuleFontFace(this)->~StyleRuleFontFace(); | 104 toStyleRuleFontFace(this)->~StyleRuleFontFace(); |
| (...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 446 m_properties = m_properties->mutableCopy(); | 446 m_properties = m_properties->mutableCopy(); |
| 447 return *toMutableStylePropertySet(m_properties); | 447 return *toMutableStylePropertySet(m_properties); |
| 448 } | 448 } |
| 449 | 449 |
| 450 void StyleRuleFilter::setProperties(PassRefPtr<StylePropertySet> properties) | 450 void StyleRuleFilter::setProperties(PassRefPtr<StylePropertySet> properties) |
| 451 { | 451 { |
| 452 m_properties = properties; | 452 m_properties = properties; |
| 453 } | 453 } |
| 454 | 454 |
| 455 } // namespace WebCore | 455 } // namespace WebCore |
| OLD | NEW |