| Index: third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommand.cpp
|
| index 59337b93fa2c3d6759356d2e7110f623aaa20527..6e6fdf755335131d9c205a407bbb44fe666084e4 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommand.cpp
|
| @@ -315,7 +315,7 @@ void ApplyBlockElementCommand::RangeForParagraphSplittingTextNodesIfNeeded(
|
| }
|
|
|
| // If end is in the middle of a text node, split.
|
| - if (end_style->UserModify() != READ_ONLY &&
|
| + if (end_style->UserModify() != EUserModify::kReadOnly &&
|
| !end_style->CollapseWhiteSpace() && end.OffsetInContainerNode() &&
|
| end.OffsetInContainerNode() <
|
| end.ComputeContainerNode()->MaxCharacterOffset()) {
|
|
|