| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef PropertyTreeState_h |
| 6 #define PropertyTreeState_h |
| 7 |
| 8 #include "wtf/HashFunctions.h" |
| 9 #include "wtf/HashTraits.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 class TransformPaintPropertyNode; |
| 14 class ClipPaintPropertyNode; |
| 15 class EffectPaintPropertyNode; |
| 16 |
| 17 // Represents the combination of transform, clip and effect nodes for a particul
ar coordinate space. |
| 18 // See GeometryMapper. |
| 19 struct PropertyTreeState { |
| 20 PropertyTreeState( |
| 21 TransformPaintPropertyNode* transform, |
| 22 ClipPaintPropertyNode* clip, |
| 23 EffectPaintPropertyNode* effect) |
| 24 : transform(transform), clip(clip), effect(effect) {} |
| 25 |
| 26 TransformPaintPropertyNode* transform; |
| 27 ClipPaintPropertyNode* clip; |
| 28 EffectPaintPropertyNode* effect; |
| 29 }; |
| 30 |
| 31 } // namespace blink |
| 32 |
| 33 #endif // PropertyTreeState_h |
| OLD | NEW |