| Index: third_party/WebKit/Source/core/editing/EditingUtilities.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
|
| index aae9e7b3cf42f556772fde78b23bed945e8dc739..72d667e651c7778f25c0c04a5c836b8b6a132737 100644
|
| --- a/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/EditingUtilities.cpp
|
| @@ -332,11 +332,11 @@ static bool HasEditableLevel(const Node& node, EditableLevel editable_level) {
|
| if ((ancestor.IsHTMLElement() || ancestor.IsDocumentNode()) &&
|
| ancestor.GetLayoutObject()) {
|
| switch (ancestor.GetLayoutObject()->Style()->UserModify()) {
|
| - case READ_ONLY:
|
| + case EUserModify::kReadOnly:
|
| return false;
|
| - case READ_WRITE:
|
| + case EUserModify::kReadWrite:
|
| return true;
|
| - case READ_WRITE_PLAINTEXT_ONLY:
|
| + case EUserModify::kReadWritePlaintextOnly:
|
| return editable_level != kRichlyEditable;
|
| }
|
| NOTREACHED();
|
| @@ -985,7 +985,7 @@ EUserSelect UsedValueOfUserSelect(const Node& node) {
|
| return SELECT_NONE;
|
|
|
| const ComputedStyle* style = node.GetLayoutObject()->Style();
|
| - if (style->UserModify() != READ_ONLY)
|
| + if (style->UserModify() != EUserModify::kReadOnly)
|
| return SELECT_TEXT;
|
|
|
| return style->UserSelect();
|
|
|