Index: Source/core/layout/svg/LayoutSVGRoot.cpp |
diff --git a/Source/core/layout/svg/LayoutSVGRoot.cpp b/Source/core/layout/svg/LayoutSVGRoot.cpp |
index 54cc730f81d9a0a1ce5e682124c5b32db5b9a15d..95c126f6d2364f895fdd85f3124b013a6386c68a 100644 |
--- a/Source/core/layout/svg/LayoutSVGRoot.cpp |
+++ b/Source/core/layout/svg/LayoutSVGRoot.cpp |
@@ -349,7 +349,7 @@ LayoutRect LayoutSVGRoot::clippedOverflowRectForPaintInvalidation(const LayoutBo |
} |
// Compute the paint invalidation rect in the parent coordinate space. |
- LayoutRect rect = enclosingIntRect(paintInvalidationRect); |
+ LayoutRect rect(enclosingIntRect(paintInvalidationRect)); |
LayoutReplaced::mapRectToPaintInvalidationBacking(paintInvalidationContainer, rect, paintInvalidationState); |
return rect; |
} |
@@ -361,7 +361,7 @@ void LayoutSVGRoot::mapRectToPaintInvalidationBacking(const LayoutBoxModelObject |
// Apply initial viewport clip |
if (shouldApplyViewportClip()) |
- rect.intersect(pixelSnappedBorderBoxRect()); |
+ rect.intersect(LayoutRect(pixelSnappedBorderBoxRect())); |
LayoutReplaced::mapRectToPaintInvalidationBacking(paintInvalidationContainer, rect, paintInvalidationState); |
} |