| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. | 3 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc.
All rights reserved. |
| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 RawPtrWillBeMember<const CSSStyleSheet> m_parentStyleSheet; | 82 RawPtrWillBeMember<const CSSStyleSheet> m_parentStyleSheet; |
| 83 }; | 83 }; |
| 84 | 84 |
| 85 } // namespace blink | 85 } // namespace blink |
| 86 | 86 |
| 87 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::MatchedRule); | 87 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::MatchedRule); |
| 88 | 88 |
| 89 namespace blink { | 89 namespace blink { |
| 90 | 90 |
| 91 // FIXME: oilpan: when transition types are gone this class can be replaced with
HeapVector. | 91 // FIXME: oilpan: when transition types are gone this class can be replaced with
HeapVector. |
| 92 class StyleRuleList FINAL : public RefCountedWillBeGarbageCollected<StyleRuleLis
t> { | 92 class StyleRuleList final : public RefCountedWillBeGarbageCollected<StyleRuleLis
t> { |
| 93 public: | 93 public: |
| 94 static PassRefPtrWillBeRawPtr<StyleRuleList> create() { return adoptRefWillB
eNoop(new StyleRuleList()); } | 94 static PassRefPtrWillBeRawPtr<StyleRuleList> create() { return adoptRefWillB
eNoop(new StyleRuleList()); } |
| 95 | 95 |
| 96 void trace(Visitor* visitor) | 96 void trace(Visitor* visitor) |
| 97 { | 97 { |
| 98 #if ENABLE(OILPAN) | 98 #if ENABLE(OILPAN) |
| 99 visitor->trace(m_list); | 99 visitor->trace(m_list); |
| 100 #endif | 100 #endif |
| 101 } | 101 } |
| 102 | 102 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 | 174 |
| 175 // Output. | 175 // Output. |
| 176 RefPtrWillBeMember<StaticCSSRuleList> m_cssRuleList; | 176 RefPtrWillBeMember<StaticCSSRuleList> m_cssRuleList; |
| 177 RefPtrWillBeMember<StyleRuleList> m_styleRuleList; | 177 RefPtrWillBeMember<StyleRuleList> m_styleRuleList; |
| 178 MatchResult m_result; | 178 MatchResult m_result; |
| 179 }; | 179 }; |
| 180 | 180 |
| 181 } // namespace blink | 181 } // namespace blink |
| 182 | 182 |
| 183 #endif // ElementRuleCollector_h | 183 #endif // ElementRuleCollector_h |
| OLD | NEW |