Index: third_party/WebKit/Source/core/editing/commands/DeleteFromTextNodeCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/DeleteFromTextNodeCommand.cpp b/third_party/WebKit/Source/core/editing/commands/DeleteFromTextNodeCommand.cpp |
index 6fdd60e8d8e4717b6d8ef3fec1ef30a17061bcad..bbfed419b48b31164a6d990daa8a728f74024a02 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/DeleteFromTextNodeCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/DeleteFromTextNodeCommand.cpp |
@@ -62,7 +62,7 @@ void DeleteFromTextNodeCommand::doUnapply() |
{ |
DCHECK(m_node); |
- if (!m_node->hasEditableStyle()) |
+ if (!hasEditableStyle(*m_node)) |
return; |
m_node->insertData(m_offset, m_text, IGNORE_EXCEPTION); |