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

Unified Diff: sky/engine/core/editing/InsertLineBreakCommand.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/InsertLineBreakCommand.cpp
diff --git a/sky/engine/core/editing/InsertLineBreakCommand.cpp b/sky/engine/core/editing/InsertLineBreakCommand.cpp
index 5ba79d5ff6943e4e5c1802b7d47de3269b4b3633..70d4205e5d17be5d7cf047a9fd657124f871a8fa 100644
--- a/sky/engine/core/editing/InsertLineBreakCommand.cpp
+++ b/sky/engine/core/editing/InsertLineBreakCommand.cpp
@@ -101,7 +101,7 @@ void InsertLineBreakCommand::doApply()
Position endingPosition = firstPositionInNode(textNode);
// Handle whitespace that occurs after the split
- document().updateLayoutIgnorePendingStylesheets();
+ document().updateLayout();
if (!endingPosition.isRenderedCharacter()) {
Position positionBeforeTextNode(positionInParentBeforeNode(*textNode));
// Clear out all whitespace and insert one non-breaking space
« no previous file with comments | « sky/engine/core/editing/FrameSelection.cpp ('k') | sky/engine/core/editing/InsertParagraphSeparatorCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698