Index: Source/core/layout/LayoutInline.cpp |
diff --git a/Source/core/layout/LayoutInline.cpp b/Source/core/layout/LayoutInline.cpp |
index 52ddff3daebf574667e6313c78e8802caf494f55..dac69183bfa24e4935a9d41b4aabef0e2cda45b0 100644 |
--- a/Source/core/layout/LayoutInline.cpp |
+++ b/Source/core/layout/LayoutInline.cpp |
@@ -1045,7 +1045,7 @@ LayoutRect LayoutInline::absoluteClippedOverflowRect() const |
LayoutRect rect = curr->clippedOverflowRectForPaintInvalidation(view()); |
context(rect); |
if (curr == endContinuation) |
- return enclosingIntRect(floatResult); |
+ return LayoutRect(enclosingIntRect(floatResult)); |
} |
} |
return LayoutRect(); |
@@ -1442,7 +1442,7 @@ void LayoutInline::addAnnotatedRegions(Vector<AnnotatedRegionValue>& regions) |
AnnotatedRegionValue region; |
region.draggable = style()->getDraggableRegionMode() == DraggableRegionDrag; |
- region.bounds = linesBoundingBox(); |
+ region.bounds = LayoutRect(linesBoundingBox()); |
LayoutObject* container = containingBlock(); |
if (!container) |