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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp

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/core/paint/PaintLayerPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
index bc6e7b330fc6ed9f0d5cbd2dbc6ef07c72744df6..8f6ea8adb1b51c4cf258179d24198fdc5c5dca64 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
@@ -333,10 +333,10 @@ PaintLayerPainter::PaintResult PaintLayerPainter::paintLayerContents(GraphicsCon
ASSERT(objectPaintProperties && objectPaintProperties->localBorderBoxProperties());
PaintChunkProperties properties(context.getPaintController().currentPaintChunkProperties());
auto& localBorderBoxProperties = *objectPaintProperties->localBorderBoxProperties();
- properties.transform = localBorderBoxProperties.propertyTreeState.transform;
+ properties.transform = localBorderBoxProperties.geometryPropertyTreeState.transform;
properties.scroll = localBorderBoxProperties.scroll;
- properties.clip = localBorderBoxProperties.propertyTreeState.clip;
- properties.effect = localBorderBoxProperties.propertyTreeState.effect;
+ properties.clip = localBorderBoxProperties.geometryPropertyTreeState.clip;
+ properties.effect = localBorderBoxProperties.geometryPropertyTreeState.effect;
properties.backfaceHidden = m_paintLayer.layoutObject()->hasHiddenBackface();
scopedPaintChunkProperties.emplace(context.getPaintController(), m_paintLayer, properties);
}

Powered by Google App Engine
This is Rietveld 408576698