Index: Source/core/editing/ApplyStyleCommand.cpp |
diff --git a/Source/core/editing/ApplyStyleCommand.cpp b/Source/core/editing/ApplyStyleCommand.cpp |
index a11544a173a9b41134b67f9d037a4ce8f4e26010..c1570e5246359e2a4cc9cedf05c71b28aba68255 100644 |
--- a/Source/core/editing/ApplyStyleCommand.cpp |
+++ b/Source/core/editing/ApplyStyleCommand.cpp |
@@ -996,7 +996,7 @@ void ApplyStyleCommand::applyInlineStyleToPushDown(Node* node, EditingStyle* sty |
{ |
ASSERT(node); |
- node->document().updateStyleIfNeeded(); |
+ node->document().updateRenderTreeIfNeeded(); |
if (!style || style->isEmpty() || !node->renderer() || isHTMLIFrameElement(*node)) |
return; |