| Index: third_party/WebKit/Source/core/editing/VisibleUnits.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/VisibleUnits.cpp b/third_party/WebKit/Source/core/editing/VisibleUnits.cpp
|
| index dd704fad3d84f0cd1aca4715a25a704ce4efe8c1..bf31c87d93a6508893c79d601f0c3fd42c16ef77 100644
|
| --- a/third_party/WebKit/Source/core/editing/VisibleUnits.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/VisibleUnits.cpp
|
| @@ -1929,6 +1929,8 @@ static InlineBoxPosition computeInlineBoxPositionTemplate(const PositionTemplate
|
| Node* const anchorNode = position.anchorNode();
|
| LayoutObject* layoutObject = anchorNode->isShadowRoot() ? toShadowRoot(anchorNode)->host()->layoutObject() : anchorNode->layoutObject();
|
|
|
| + DCHECK(layoutObject);
|
| +
|
| if (!layoutObject->isText()) {
|
| inlineBox = 0;
|
| if (canHaveChildrenForEditing(anchorNode) && layoutObject->isLayoutBlockFlow() && hasRenderedNonAnonymousDescendantsWithHeight(layoutObject)) {
|
|
|