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

Unified Diff: sky/engine/core/editing/CompositeEditCommand.cpp

Issue 834693007: Remove the remaining parts of ignorePendingStylesheets and placeholder styles. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Remove comment. Created 5 years, 11 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: 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);
« no previous file with comments | « sky/engine/core/editing/ApplyBlockElementCommand.cpp ('k') | sky/engine/core/editing/DeleteSelectionCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698