| 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 * Copyright (C) 2013 Google Inc. All rights reserved. | 4 * Copyright (C) 2013 Google 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 RuleRange UARuleRange() { return RuleRange(firstUARule, lastUARule); } | 48 RuleRange UARuleRange() { return RuleRange(firstUARule, lastUARule); } |
| 49 RuleRange authorRuleRange() { return RuleRange(firstAuthorRule, lastAuthorRu
le); } | 49 RuleRange authorRuleRange() { return RuleRange(firstAuthorRule, lastAuthorRu
le); } |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 struct MatchedProperties { | 52 struct MatchedProperties { |
| 53 ALLOW_ONLY_INLINE_ALLOCATION(); | 53 ALLOW_ONLY_INLINE_ALLOCATION(); |
| 54 public: | 54 public: |
| 55 MatchedProperties(); | 55 MatchedProperties(); |
| 56 ~MatchedProperties(); | 56 ~MatchedProperties(); |
| 57 | 57 |
| 58 void trace(Visitor*); | |
| 59 | |
| 60 RefPtr<StylePropertySet> properties; | 58 RefPtr<StylePropertySet> properties; |
| 61 }; | 59 }; |
| 62 | 60 |
| 63 } // namespace blink | 61 } // namespace blink |
| 64 | 62 |
| 65 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::MatchedProperties); | 63 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::MatchedProperties); |
| 66 | 64 |
| 67 namespace blink { | 65 namespace blink { |
| 68 | 66 |
| 69 class MatchResult { | 67 class MatchResult { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 96 } | 94 } |
| 97 | 95 |
| 98 inline bool operator!=(const MatchedProperties& a, const MatchedProperties& b) | 96 inline bool operator!=(const MatchedProperties& a, const MatchedProperties& b) |
| 99 { | 97 { |
| 100 return !(a == b); | 98 return !(a == b); |
| 101 } | 99 } |
| 102 | 100 |
| 103 } // namespace blink | 101 } // namespace blink |
| 104 | 102 |
| 105 #endif // MatchResult_h | 103 #endif // MatchResult_h |
| OLD | NEW |