Chromium Code Reviews| 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())); |
| } |