Index: third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp |
index b71feb92c5b60592b4d1e5bfc5213c18b86823e2..15ce3676b997ed63da3b1b93a8cdaab67129f009 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp |
@@ -1791,7 +1791,7 @@ bool Editor::Command::execute(const String& parameter, Event* triggeringEvent) c |
if (!m_frame || !frame().document()) |
return false; |
- frame().document()->updateLayoutIgnorePendingStylesheets(); |
+ frame().document()->updateStyleAndLayoutIgnorePendingStylesheets(); |
DEFINE_STATIC_LOCAL(SparseHistogram, commandHistogram, ("WebCore.Editing.Commands")); |
commandHistogram.sample(static_cast<int>(m_command->commandType)); |
return m_command->execute(*m_frame, triggeringEvent, m_source, parameter); |