| Index: third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| index 5ee9e547d52939e6c957b9d6b2ea1c5d60aeacab..c833ec4379f9d7f1572eea0de1252e155c83f925 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
| @@ -855,7 +855,7 @@ void ApplyStyleCommand::applyInlineStyleToNodeRange(EditingStyle* style, Node* s
|
| if (!node->layoutObject() || !hasEditableStyle(*node))
|
| continue;
|
|
|
| - if (!layoutObjectIsRichlyEditable(*node) && node->isHTMLElement()) {
|
| + if (!hasRichlyEditableStyle(*node) && node->isHTMLElement()) {
|
| HTMLElement* element = toHTMLElement(node);
|
| // This is a plaintext-only region. Only proceed if it's fully selected.
|
| // pastEndNode is the node after the last fully selected node, so if it's inside node then
|
|
|