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

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

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/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 f783fb86b6bee59504637caca596be940774599f..266f59d3bdc26fbf1519e946160ada2a2d408336 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
@@ -420,11 +420,10 @@ PaintLayerPainter::PaintResult PaintLayerPainter::paintLayerContents(
auto& localBorderBoxProperties =
*objectPaintProperties->localBorderBoxProperties();
properties.transform =
- localBorderBoxProperties.geometryPropertyTreeState.transform;
- properties.scroll = localBorderBoxProperties.scroll;
- properties.clip = localBorderBoxProperties.geometryPropertyTreeState.clip;
- properties.effect =
- localBorderBoxProperties.geometryPropertyTreeState.effect;
+ 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(),

Powered by Google App Engine
This is Rietveld 408576698