| Index: third_party/WebKit/Source/core/dom/Document.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
|
| index 281497ca4858358e3a6b229b6f1806410ff59386..76d4a7909fe66b354a962780f9ddc73a63d190a3 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -4455,6 +4455,7 @@ bool Document::execCommand(const String& commandName, bool, const String& value,
|
| // Postpone DOM mutation events, which can execute scripts and change
|
| // DOM tree against implementation assumption.
|
| EventQueueScope eventQueueScope;
|
| + Editor::tidyUpHTMLStructure(*this);
|
| Editor::Command editorCommand = command(this, commandName);
|
| Platform::current()->histogramSparse("WebCore.Document.execCommand", editorCommand.idForHistogram());
|
| return editorCommand.execute(value);
|
|
|