| Index: sky/engine/core/editing/CompositeEditCommand.cpp
|
| diff --git a/sky/engine/core/editing/CompositeEditCommand.cpp b/sky/engine/core/editing/CompositeEditCommand.cpp
|
| index d4b8b59a209e68573687b43106b9196ed5261a27..9f7d83a6b1b5254b92efe14ade048dc5509dab3f 100644
|
| --- a/sky/engine/core/editing/CompositeEditCommand.cpp
|
| +++ b/sky/engine/core/editing/CompositeEditCommand.cpp
|
| @@ -92,7 +92,7 @@ void EditCommandComposition::unapply()
|
| // Changes to the document may have been made since the last editing operation that require a layout, as in <rdar://problem/5658603>.
|
| // Low level operations, like RemoveNodeCommand, don't require a layout because the high level operations that use them perform one
|
| // if one is necessary (like for the creation of VisiblePositions).
|
| - m_document->updateLayoutIgnorePendingStylesheets();
|
| + m_document->updateLayout();
|
|
|
| {
|
| size_t size = m_commands.size();
|
| @@ -112,7 +112,7 @@ void EditCommandComposition::reapply()
|
| // Changes to the document may have been made since the last editing operation that require a layout, as in <rdar://problem/5658603>.
|
| // Low level operations, like RemoveNodeCommand, don't require a layout because the high level operations that use them perform one
|
| // if one is necessary (like for the creation of VisiblePositions).
|
| - m_document->updateLayoutIgnorePendingStylesheets();
|
| + m_document->updateLayout();
|
|
|
| {
|
| size_t size = m_commands.size();
|
| @@ -171,7 +171,7 @@ void CompositeEditCommand::apply()
|
| // Changes to the document may have been made since the last editing operation that require a layout, as in <rdar://problem/5658603>.
|
| // Low level operations, like RemoveNodeCommand, don't require a layout because the high level operations that use them perform one
|
| // if one is necessary (like for the creation of VisiblePositions).
|
| - document().updateLayoutIgnorePendingStylesheets();
|
| + document().updateLayout();
|
|
|
| LocalFrame* frame = document().frame();
|
| ASSERT(frame);
|
|
|