| Index: third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
|
| index cfa79d7a8475245a85ac8315af085b9c2a8699eb..07af93b3a98a7d9c0cc7b6fd9a7fdac01e0d4598 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
|
| @@ -1027,10 +1027,10 @@ void ReplaceSelectionCommand::DoApply(EditingState* editing_state) {
|
| .AnchorNode()
|
| ->GetLayoutObject()
|
| ->Style()
|
| - ->UserModify() == READ_WRITE_PLAINTEXT_ONLY) &&
|
| + ->UserModify() == EUserModify::kReadWritePlaintextOnly) &&
|
| (selection.end().AnchorNode()->GetLayoutObject() &&
|
| selection.end().AnchorNode()->GetLayoutObject()->Style()->UserModify() ==
|
| - READ_WRITE_PLAINTEXT_ONLY))
|
| + EUserModify::kReadWritePlaintextOnly))
|
| match_style_ = false;
|
|
|
| if (match_style_) {
|
|
|