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

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

Issue 2370553002: Refactor LocalBorderBoxProperties to use PropertyTreeState (Closed)
Patch Set: Rebase from space 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 8f6ea8adb1b51c4cf258179d24198fdc5c5dca64..f528d01fef527b2fd5233380bd95b59cd674da5a 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.geometryPropertyTreeState.transform;
- properties.scroll = localBorderBoxProperties.scroll;
- properties.clip = localBorderBoxProperties.geometryPropertyTreeState.clip;
- properties.effect = localBorderBoxProperties.geometryPropertyTreeState.effect;
+ properties.transform = localBorderBoxProperties.propertyTreeState.transform;
+ properties.scroll = localBorderBoxProperties.propertyTreeState.scroll;
+ properties.clip = localBorderBoxProperties.propertyTreeState.clip;
+ properties.effect = localBorderBoxProperties.propertyTreeState.effect;
properties.backfaceHidden = m_paintLayer.layoutObject()->hasHiddenBackface();
scopedPaintChunkProperties.emplace(context.getPaintController(), m_paintLayer, properties);
}

Powered by Google App Engine
This is Rietveld 408576698