| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef StyleInvalidator_h | 5 #ifndef StyleInvalidator_h |
| 6 #define StyleInvalidator_h | 6 #define StyleInvalidator_h |
| 7 | 7 |
| 8 #include "platform/heap/Handle.h" | 8 #include "platform/heap/Handle.h" |
| 9 #include "wtf/HashMap.h" |
| 10 #include "wtf/Vector.h" |
| 9 | 11 |
| 10 namespace blink { | 12 namespace blink { |
| 11 | 13 |
| 12 class DescendantInvalidationSet; | 14 class DescendantInvalidationSet; |
| 13 class Document; | 15 class Document; |
| 14 class Element; | 16 class Element; |
| 15 class Node; | 17 class Node; |
| 16 | 18 |
| 17 class StyleInvalidator { | 19 class StyleInvalidator { |
| 18 DISALLOW_ALLOCATION(); | 20 DISALLOW_ALLOCATION(); |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 typedef HashMap<RawPtr<Element>, OwnPtr<InvalidationList> > PendingInvalidat
ionMap; | 88 typedef HashMap<RawPtr<Element>, OwnPtr<InvalidationList> > PendingInvalidat
ionMap; |
| 87 | 89 |
| 88 InvalidationList& ensurePendingInvalidationList(Element&); | 90 InvalidationList& ensurePendingInvalidationList(Element&); |
| 89 | 91 |
| 90 PendingInvalidationMap m_pendingInvalidationMap; | 92 PendingInvalidationMap m_pendingInvalidationMap; |
| 91 }; | 93 }; |
| 92 | 94 |
| 93 } // namespace blink | 95 } // namespace blink |
| 94 | 96 |
| 95 #endif // StyleInvalidator_h | 97 #endif // StyleInvalidator_h |
| OLD | NEW |