Index: third_party/WebKit/Source/core/layout/LayoutListMarker.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp b/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp |
index 524bb08ecd76528876502159a3a4c10ee8c7264e..91e24ed0dbc3d1e7a6e24609ff0b9abdd6b70a10 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp |
@@ -484,8 +484,10 @@ void LayoutListMarker::SetSelectionState(SelectionState state) { |
// base class call. |
LayoutBox::SetSelectionState(state); |
- if (InlineBoxWrapper() && CanUpdateSelectionOnRootLineBoxes()) |
- InlineBoxWrapper()->Root().SetHasSelectedChildren(state != SelectionNone); |
+ if (InlineBoxWrapper() && CanUpdateSelectionOnRootLineBoxes()) { |
+ InlineBoxWrapper()->Root().SetHasSelectedChildren(state != |
+ SelectionState::kNone); |
+ } |
} |
void LayoutListMarker::ListItemStyleDidChange() { |