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

Unified Diff: third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp

Issue 2812593003: Remove caching of contents paint properties (Closed)
Patch Set: Created 3 years, 8 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/layout/VisualRectMappingTest.cpp
diff --git a/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp b/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp
index e98f8255034cebe1f1fc902323ac59e80c95ca2a..be61703723e727c7eb8d1155a25496097b106725 100644
--- a/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp
+++ b/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp
@@ -44,8 +44,9 @@ class VisualRectMappingTest : public RenderingTest {
FloatClipRect geometry_mapper_rect((FloatRect(local_rect)));
if (object.PaintProperties() || object.LocalBorderBoxProperties()) {
geometry_mapper_rect.MoveBy(FloatPoint(object.PaintOffset()));
+ auto contents_properties = ancestor.ContentsProperties();
chrishtr 2017/04/10 19:44:50 nit: Re-inline this?
pdr. 2017/04/10 20:05:34 Done
GeometryMapper::SourceToDestinationVisualRect(
- *object.LocalBorderBoxProperties(), *ancestor.ContentsProperties(),
+ *object.LocalBorderBoxProperties(), contents_properties,
geometry_mapper_rect);
geometry_mapper_rect.MoveBy(-FloatPoint(ancestor.PaintOffset()));
}

Powered by Google App Engine
This is Rietveld 408576698