Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(344)

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/GeometryPropertyTreeState.h

Issue 2338373004: Refactor PropertyTreeState as GeometryPropertyTreeState (Closed)
Patch Set: Rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698