| Index: third_party/WebKit/Source/platform/graphics/paint/GeometryPropertyTreeState.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h b/third_party/WebKit/Source/platform/graphics/paint/GeometryPropertyTreeState.h
|
| similarity index 80%
|
| rename from third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h
|
| rename to third_party/WebKit/Source/platform/graphics/paint/GeometryPropertyTreeState.h
|
| index 7d8b893c3b1fa31121079080ad6c9f3e35c8413a..e062b958b8a379d7879eb68a5a9dbd659b2216ee 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/paint/PropertyTreeState.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/paint/GeometryPropertyTreeState.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef PropertyTreeState_h
|
| -#define PropertyTreeState_h
|
| +#ifndef GeometryPropertyTreeState_h
|
| +#define GeometryPropertyTreeState_h
|
|
|
| #include "platform/graphics/paint/ClipPaintPropertyNode.h"
|
| #include "platform/graphics/paint/EffectPaintPropertyNode.h"
|
| @@ -14,14 +14,12 @@
|
| namespace blink {
|
|
|
| // Represents the combination of transform, clip and effect nodes for a particular coordinate space.
|
| -// See GeometryMapper.
|
| -// Scroll nodes (ScrollPaintPropertyNode) are not needed for mapping geometry and have been left off
|
| -// of this structure.
|
| -// TODO(pdr): Rename this GeometryPropertyTreeState.
|
| -struct PropertyTreeState {
|
| - PropertyTreeState() : PropertyTreeState(nullptr, nullptr, nullptr) {}
|
| +// See GeometryMapper. Scroll nodes (ScrollPaintPropertyNode) are not needed for mapping geometry
|
| +// and have been left off of this structure.
|
| +struct GeometryPropertyTreeState {
|
| + GeometryPropertyTreeState() : GeometryPropertyTreeState(nullptr, nullptr, nullptr) {}
|
|
|
| - PropertyTreeState(
|
| + GeometryPropertyTreeState(
|
| const TransformPaintPropertyNode* transform,
|
| const ClipPaintPropertyNode* clip,
|
| const EffectPaintPropertyNode* effect)
|
| @@ -72,4 +70,4 @@ const A* propertyTreeNearestCommonAncestor(const A* a, const A* b)
|
|
|
| } // namespace blink
|
|
|
| -#endif // PropertyTreeState_h
|
| +#endif // GeometryPropertyTreeState_h
|
|
|