| 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 55153214edf88d58fc3fd41273206aee04678c9c..b16afca96f6cf64463e4a78657aa4675631a861c 100644
|
| --- a/third_party/WebKit/Source/core/editing/VisibleUnits.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/VisibleUnits.cpp
|
| @@ -1930,6 +1930,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)) {
|
|
|