| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 PropertyTreeState_h | 5 #ifndef PropertyTreeState_h |
| 6 #define PropertyTreeState_h | 6 #define PropertyTreeState_h |
| 7 | 7 |
| 8 #include "platform/graphics/paint/ClipPaintPropertyNode.h" | 8 #include "platform/graphics/paint/ClipPaintPropertyNode.h" |
| 9 #include "platform/graphics/paint/EffectPaintPropertyNode.h" | 9 #include "platform/graphics/paint/EffectPaintPropertyNode.h" |
| 10 #include "platform/graphics/paint/TransformPaintPropertyNode.h" | 10 #include "platform/graphics/paint/TransformPaintPropertyNode.h" |
| 11 #include "wtf/HashFunctions.h" | 11 #include "platform/wtf/HashFunctions.h" |
| 12 #include "wtf/HashTraits.h" | 12 #include "platform/wtf/HashTraits.h" |
| 13 #include "wtf/text/StringBuilder.h" | 13 #include "platform/wtf/text/StringBuilder.h" |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 // A complete set of paint properties including those that are inherited from | 17 // A complete set of paint properties including those that are inherited from |
| 18 // other objects. RefPtrs are used to guard against use-after-free bugs and | 18 // other objects. RefPtrs are used to guard against use-after-free bugs and |
| 19 // DCHECKs ensure PropertyTreeState never retains the last reference to a | 19 // DCHECKs ensure PropertyTreeState never retains the last reference to a |
| 20 // property tree node. | 20 // property tree node. |
| 21 class PLATFORM_EXPORT PropertyTreeState { | 21 class PLATFORM_EXPORT PropertyTreeState { |
| 22 USING_FAST_MALLOC(PropertyTreeState); | 22 USING_FAST_MALLOC(PropertyTreeState); |
| 23 | 23 |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 } | 180 } |
| 181 | 181 |
| 182 HashMap<const PropertyTreeNode*, String> m_nodeToDebugString; | 182 HashMap<const PropertyTreeNode*, String> m_nodeToDebugString; |
| 183 }; | 183 }; |
| 184 | 184 |
| 185 #endif | 185 #endif |
| 186 | 186 |
| 187 } // namespace blink | 187 } // namespace blink |
| 188 | 188 |
| 189 #endif // PropertyTreeState_h | 189 #endif // PropertyTreeState_h |
| OLD | NEW |