Index: sky/engine/core/editing/EditorCommand.cpp |
diff --git a/sky/engine/core/editing/EditorCommand.cpp b/sky/engine/core/editing/EditorCommand.cpp |
index f88f85d7b0138197cec00a7d17f6b9f8108f21ac..6d5fcee6b367e377bff73bbccf61cf8c285a8b20 100644 |
--- a/sky/engine/core/editing/EditorCommand.cpp |
+++ b/sky/engine/core/editing/EditorCommand.cpp |
@@ -595,7 +595,7 @@ bool Editor::Command::execute(const String& parameter, Event* triggeringEvent) c |
if (!isSupported() || !m_frame || !m_command->allowExecutionWhenDisabled) |
return false; |
} |
- m_frame->document()->updateLayoutIgnorePendingStylesheets(); |
+ m_frame->document()->updateLayout(); |
blink::Platform::current()->histogramSparse("WebCore.Editing.Commands", m_command->idForUserMetrics); |
return m_command->execute(*m_frame, triggeringEvent, m_source, parameter); |
} |