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

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

Issue 2390443002: Unify GeometryPropertyTreeState and PropertyTreeState (Closed)
Patch Set: rebase x2 Created 4 years, 2 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/GeometryPropertyTreeState.h b/third_party/WebKit/Source/platform/graphics/paint/GeometryPropertyTreeState.h
deleted file mode 100644
index fd2ddcc508a62d1183c1ef562259a566d456cc3d..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/platform/graphics/paint/GeometryPropertyTreeState.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef GeometryPropertyTreeState_h
-#define GeometryPropertyTreeState_h
-
-#include "platform/graphics/paint/ClipPaintPropertyNode.h"
-#include "platform/graphics/paint/EffectPaintPropertyNode.h"
-#include "platform/graphics/paint/TransformPaintPropertyNode.h"
-#include "wtf/HashFunctions.h"
-#include "wtf/HashTraits.h"
-
-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.
-struct GeometryPropertyTreeState {
- GeometryPropertyTreeState()
- : GeometryPropertyTreeState(nullptr, nullptr, nullptr) {}
-
- GeometryPropertyTreeState(const TransformPaintPropertyNode* transform,
- const ClipPaintPropertyNode* clip,
- const EffectPaintPropertyNode* effect)
- : transform(transform), clip(clip), effect(effect) {}
-
- RefPtr<const TransformPaintPropertyNode> transform;
- RefPtr<const ClipPaintPropertyNode> clip;
- RefPtr<const EffectPaintPropertyNode> effect;
-};
-
-} // namespace blink
-
-#endif // GeometryPropertyTreeState_h

Powered by Google App Engine
This is Rietveld 408576698