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

Unified Diff: sky/engine/core/editing/VisiblePosition.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
« no previous file with comments | « sky/engine/core/editing/TextIterator.cpp ('k') | sky/engine/core/editing/VisibleUnits.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/editing/VisiblePosition.cpp
diff --git a/sky/engine/core/editing/VisiblePosition.cpp b/sky/engine/core/editing/VisiblePosition.cpp
index edea626ae274a2d18ba1ce413484a0b1d369448c..6cd49f60ae91208a9268abe0735c41b6f38278db 100644
--- a/sky/engine/core/editing/VisiblePosition.cpp
+++ b/sky/engine/core/editing/VisiblePosition.cpp
@@ -568,7 +568,7 @@ Position VisiblePosition::canonicalPosition(const Position& passedPosition)
return Position();
ASSERT(position.document());
- position.document()->updateLayoutIgnorePendingStylesheets();
+ position.document()->updateLayout();
Node* node = position.containerNode();
« no previous file with comments | « sky/engine/core/editing/TextIterator.cpp ('k') | sky/engine/core/editing/VisibleUnits.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698