| Index: third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| index 54bb8dc00a85b2f0d1823554bdbaef2251a1dafa..5a24c12c9076fde27c3ddc05a5974a9de7870edc 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintInvalidator.cpp
|
| @@ -127,11 +127,11 @@
|
| PropertyTreeState currentTreeState(
|
| context.treeBuilderContext.current.transform,
|
| context.treeBuilderContext.current.clip, nullptr);
|
| - result = LayoutRect(
|
| - geometryMapper
|
| - .sourceToDestinationVisualRect(FloatRect(rect), currentTreeState,
|
| - *containerContentsProperties)
|
| - .rect());
|
| +
|
| + FloatRect floatRect(rect);
|
| + geometryMapper.sourceToDestinationVisualRect(
|
| + currentTreeState, *containerContentsProperties, floatRect);
|
| + result = LayoutRect(floatRect);
|
| }
|
|
|
| // Convert the result to the container's contents space.
|
| @@ -182,12 +182,11 @@
|
| ->contentsProperties()
|
| ->transform();
|
| if (context.treeBuilderContext.current.transform != containerTransform) {
|
| - point = LayoutPoint(m_geometryMapper
|
| - .sourceToDestinationRect(
|
| - FloatRect(FloatPoint(point), FloatSize()),
|
| - context.treeBuilderContext.current.transform,
|
| - containerTransform)
|
| - .location());
|
| + FloatRect rect = FloatRect(FloatPoint(point), FloatSize());
|
| + m_geometryMapper.sourceToDestinationRect(
|
| + context.treeBuilderContext.current.transform, containerTransform,
|
| + rect);
|
| + point = LayoutPoint(rect.location());
|
| }
|
|
|
| // Convert the result to the container's contents space.
|
|
|