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

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

Issue 2573883002: Refactor PaintChunkProperties to use PropertyTreeState (Closed)
Patch Set: none Created 4 years 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/BoxClipper.cpp
diff --git a/third_party/WebKit/Source/core/paint/BoxClipper.cpp b/third_party/WebKit/Source/core/paint/BoxClipper.cpp
index 07bbf7d3c2d2bb4ca55807cb5018bb2b2d4a8a7e..5d533caa0b9af3f339e82722b7322f019d101198 100644
--- a/third_party/WebKit/Source/core/paint/BoxClipper.cpp
+++ b/third_party/WebKit/Source/core/paint/BoxClipper.cpp
@@ -45,7 +45,7 @@ BoxClipper::BoxClipper(const LayoutBox& box,
if (objectProperties && objectProperties->overflowClip()) {
PaintChunkProperties properties(
paintInfo.context.getPaintController().currentPaintChunkProperties());
- properties.clip = objectProperties->overflowClip();
+ properties.propertyTreeState.setClip(objectProperties->overflowClip());
m_scopedClipProperty.emplace(paintInfo.context.getPaintController(), box,
paintInfo.displayItemTypeForClipping(),
properties);
« no previous file with comments | « third_party/WebKit/Source/core/paint/BlockPainter.cpp ('k') | third_party/WebKit/Source/core/paint/FramePainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698