Index: third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.cpp b/third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.cpp |
index a518d6e37f3c305fadbac3ce2639f0a86b47a746..9a9580962f26b032a6fba7e7adc21fb30c6fa6bb 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/InsertIntoTextNodeCommand.cpp |
@@ -50,7 +50,7 @@ void InsertIntoTextNodeCommand::doApply(EditingState*) |
if (passwordEchoEnabled) |
document().updateStyleAndLayoutIgnorePendingStylesheets(); |
- if (!m_node->hasEditableStyle()) |
+ if (!hasEditableStyle(*m_node)) |
return; |
if (passwordEchoEnabled) { |
@@ -65,7 +65,7 @@ void InsertIntoTextNodeCommand::doApply(EditingState*) |
void InsertIntoTextNodeCommand::doUnapply() |
{ |
- if (!m_node->hasEditableStyle()) |
+ if (!hasEditableStyle(*m_node)) |
return; |
m_node->deleteData(m_offset, m_text.length(), IGNORE_EXCEPTION); |