Index: third_party/WebKit/Source/core/dom/ContainerNode.cpp |
diff --git a/third_party/WebKit/Source/core/dom/ContainerNode.cpp b/third_party/WebKit/Source/core/dom/ContainerNode.cpp |
index 8099f739da783e31233d97e0eb49a6183b592a90..d2f6f61de2a20358f7308038db6dce98e5561523 100644 |
--- a/third_party/WebKit/Source/core/dom/ContainerNode.cpp |
+++ b/third_party/WebKit/Source/core/dom/ContainerNode.cpp |
@@ -917,7 +917,7 @@ bool ContainerNode::getLowerRightCorner(FloatPoint& point) const |
point = FloatPoint(); |
if (o->isText()) { |
LayoutText* text = toLayoutText(o); |
- IntRect linesBox = text->linesBoundingBox(); |
+ IntRect linesBox = enclosingIntRect(text->linesBoundingBox()); |
if (!linesBox.maxX() && !linesBox.maxY()) |
continue; |
point.moveBy(linesBox.maxXMaxYCorner()); |