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

Unified Diff: third_party/WebKit/Source/core/paint/ObjectPaintProperties.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/ObjectPaintProperties.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/ObjectPaintProperties.h
diff --git a/third_party/WebKit/Source/core/paint/ObjectPaintProperties.h b/third_party/WebKit/Source/core/paint/ObjectPaintProperties.h
index 5d00ac196a7d61ac66c4c09a0cfbec2f716d65b5..026c5eceb156f1b8171764fc1aeddb19f4004363 100644
--- a/third_party/WebKit/Source/core/paint/ObjectPaintProperties.h
+++ b/third_party/WebKit/Source/core/paint/ObjectPaintProperties.h
@@ -9,8 +9,8 @@
#include "platform/geometry/LayoutPoint.h"
#include "platform/graphics/paint/ClipPaintPropertyNode.h"
#include "platform/graphics/paint/EffectPaintPropertyNode.h"
+#include "platform/graphics/paint/GeometryPropertyTreeState.h"
#include "platform/graphics/paint/PaintChunkProperties.h"
-#include "platform/graphics/paint/PropertyTreeState.h"
#include "platform/graphics/paint/ScrollPaintPropertyNode.h"
#include "platform/graphics/paint/TransformPaintPropertyNode.h"
#include "wtf/PassRefPtr.h"
@@ -81,14 +81,14 @@ public:
// at the right painting step.
struct LocalBorderBoxProperties {
LayoutPoint paintOffset;
- // TODO(pdr): Rename this GeometryPropertyTreeState because it does not contain scroll.
- PropertyTreeState propertyTreeState;
+ GeometryPropertyTreeState geometryPropertyTreeState;
const ScrollPaintPropertyNode* scroll;
};
const LocalBorderBoxProperties* localBorderBoxProperties() const { return m_localBorderBoxProperties.get(); }
- // ContentsProperties is the PropertyTreeState state that is the same as in localBorderBoxProperties, except that it is inside
- // any clips and scrolls caused by this object. This PropertyTreeState is suitable as the destination for paint invalidation.
- void getContentsProperties(PropertyTreeState&) const;
+ // ContentsProperties is the GeometryPropertyTreeState that is the same as in
+ // localBorderBoxProperties, except that it is inside any clips and scrolls caused by this
+ // object. This GeometryPropertyTreeState is suitable as the destination for paint invalidation.
+ void getContentsProperties(GeometryPropertyTreeState&) const;
void clearPaintOffsetTranslation() { m_paintOffsetTranslation = nullptr; }
void clearTransform() { m_transform = nullptr; }
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/ObjectPaintProperties.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698