| 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 22 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 namespace blink { | 34 namespace blink { |
| 35 | 35 |
| 36 class ComputedStyle; | 36 class ComputedStyle; |
| 37 class StyleResolverState; | 37 class StyleResolverState; |
| 38 | 38 |
| 39 class CachedMatchedProperties final : public NoBaseWillBeGarbageCollectedFinaliz
ed<CachedMatchedProperties> { | 39 class CachedMatchedProperties final : public NoBaseWillBeGarbageCollectedFinaliz
ed<CachedMatchedProperties> { |
| 40 | 40 |
| 41 public: | 41 public: |
| 42 WillBeHeapVector<MatchedProperties> matchedProperties; | 42 WillBeHeapVector<MatchedProperties> matchedProperties; |
| 43 MatchRanges ranges; | |
| 44 RefPtr<ComputedStyle> computedStyle; | 43 RefPtr<ComputedStyle> computedStyle; |
| 45 RefPtr<ComputedStyle> parentComputedStyle; | 44 RefPtr<ComputedStyle> parentComputedStyle; |
| 46 | 45 |
| 47 void set(const ComputedStyle&, const ComputedStyle& parentStyle, const Match
Result&); | 46 void set(const ComputedStyle&, const ComputedStyle& parentStyle, const Match
Result&); |
| 48 void clear(); | 47 void clear(); |
| 49 DEFINE_INLINE_TRACE() | 48 DEFINE_INLINE_TRACE() |
| 50 { | 49 { |
| 51 #if ENABLE(OILPAN) | 50 #if ENABLE(OILPAN) |
| 52 visitor->trace(matchedProperties); | 51 visitor->trace(matchedProperties); |
| 53 #endif | 52 #endif |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 | 117 |
| 119 typedef HashMap<unsigned, OwnPtr<CachedMatchedProperties>> Cache; | 118 typedef HashMap<unsigned, OwnPtr<CachedMatchedProperties>> Cache; |
| 120 Timer<MatchedPropertiesCache> m_sweepTimer; | 119 Timer<MatchedPropertiesCache> m_sweepTimer; |
| 121 #endif | 120 #endif |
| 122 Cache m_cache; | 121 Cache m_cache; |
| 123 }; | 122 }; |
| 124 | 123 |
| 125 } | 124 } |
| 126 | 125 |
| 127 #endif | 126 #endif |
| OLD | NEW |