| Index: third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| index 3b785c0c51041c6b1153605af5e8fed14165e6db..bb16fa3e3c90298d1aa4e77b38fb9c510c1c22bb 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| @@ -930,8 +930,10 @@ LayoutUnit LayoutBlock::LogicalRightSelectionOffset(
|
| void LayoutBlock::SetSelectionState(SelectionState state) {
|
| LayoutBox::SetSelectionState(state);
|
|
|
| - if (InlineBoxWrapper() && CanUpdateSelectionOnRootLineBoxes())
|
| - InlineBoxWrapper()->Root().SetHasSelectedChildren(state != SelectionNone);
|
| + if (InlineBoxWrapper() && CanUpdateSelectionOnRootLineBoxes()) {
|
| + InlineBoxWrapper()->Root().SetHasSelectedChildren(state !=
|
| + SelectionState::kNone);
|
| + }
|
| }
|
|
|
| TrackedLayoutBoxListHashSet* LayoutBlock::PositionedObjectsInternal() const {
|
|
|