| 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 c500ce0e17b030d6a7f524c7e478f9ef1da1dd45..84c8e4d148480e73a038cd79075f5dea656742c6 100644
|
| --- a/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp
|
| @@ -41,11 +41,10 @@ class VisualRectMappingTest : public RenderingTest {
|
| return;
|
|
|
| FloatRect geometryMapperRect(localRect);
|
| - if (object.paintProperties()) {
|
| + if (object.paintProperties() || object.localBorderBoxProperties()) {
|
| geometryMapperRect.moveBy(FloatPoint(object.paintOffset()));
|
| document().view()->geometryMapper().sourceToDestinationVisualRect(
|
| - *object.paintProperties()->localBorderBoxProperties(),
|
| - *ancestor.paintProperties()->contentsProperties(),
|
| + *object.localBorderBoxProperties(), *ancestor.contentsProperties(),
|
| geometryMapperRect);
|
| geometryMapperRect.moveBy(-FloatPoint(ancestor.paintOffset()));
|
| }
|
|
|