Chromium Code Reviews| Index: third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp |
| diff --git a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp |
| index c1f5955226c34a0d4875813dd1ea5273751c634b..a834b43569a48db44f7d59ea1428e0a7afd4ad2d 100644 |
| --- a/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp |
| +++ b/third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp |
| @@ -832,6 +832,7 @@ void ApplyStyleCommand::applyInlineStyle(EditingStyle* style, |
| if (editingState->isAborted()) |
| return; |
| + document().updateStyleAndLayoutIgnorePendingStylesheets(); |
|
yosin_UTC9
2016/10/12 07:32:00
How about moving updateStyleAndLayoutXXX() to just
Xiaocheng
2016/10/12 07:45:56
The call at L803 seems pretty normal to me. The ne
|
| styleToApply = styleWithoutEmbedding; |
| } |
| } |