| 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 d09aab228834ff075cd3b143335afc13e5e40f75..ad91d7d04c3876ff3240c7b2c62c61faa3d692da 100644
|
| --- a/third_party/WebKit/Source/core/dom/ContainerNode.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
|
| @@ -938,7 +938,7 @@ bool ContainerNode::getUpperLeftCorner(FloatPoint& point) const
|
| return true;
|
| }
|
|
|
| - if (p->node() && p->node() == this && o->isText() && !o->isBR() && !toLayoutText(o)->firstTextBox()) {
|
| + if (p->node() && p->node() == this && o->isText() && !o->isBR() && !toLayoutText(o)->hasTextBoxes()) {
|
| // Do nothing - skip unrendered whitespace that is a child or next sibling of the anchor.
|
| } else if ((o->isText() && !o->isBR()) || o->isReplaced()) {
|
| point = FloatPoint();
|
|
|