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

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

Issue 2299533002: WIP: Construct SPV2's scroll paint property tree (Closed)
Patch Set: Add more paint property builder tests, update comments/documentation" 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 7f61d9b1baadc659030c4925fcd1398abedd5592..a56ae9e073ccc63e11563c5ea7039b199be75d40 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp
@@ -333,6 +333,7 @@ PaintLayerPainter::PaintResult PaintLayerPainter::paintLayerContents(GraphicsCon
PaintChunkProperties properties(context.getPaintController().currentPaintChunkProperties());
auto& localBorderBoxProperties = *objectPaintProperties->localBorderBoxProperties();
properties.transform = localBorderBoxProperties.propertyTreeState.transform;
+ properties.scroll = localBorderBoxProperties.scroll;
properties.clip = localBorderBoxProperties.propertyTreeState.clip;
properties.effect = localBorderBoxProperties.propertyTreeState.effect;
properties.backfaceHidden = m_paintLayer.layoutObject()->hasHiddenBackface();

Powered by Google App Engine
This is Rietveld 408576698