Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(420)

Unified Diff: third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp

Issue 1896793002: Rename (updateLayout/updateStyle).*.() to updateStyleAndLayout.*.() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698