| 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 09c249274505346f795c6c4101078ed597e579a6..4e832165fd94fa87c6b4babe1b4dcf064056ea2b 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()));
|
| }
|
|
|