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

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

Issue 834693007: Remove the remaining parts of ignorePendingStylesheets and placeholder styles. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Skip crashing test 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/TextIterator.cpp
diff --git a/sky/engine/core/editing/TextIterator.cpp b/sky/engine/core/editing/TextIterator.cpp
index a2f878558d49d68ab22fff6577fd9617d9ad26fd..439b2f00a2cfcdc021da4b486cf23b4b1ca1ebba 100644
--- a/sky/engine/core/editing/TextIterator.cpp
+++ b/sky/engine/core/editing/TextIterator.cpp
@@ -321,7 +321,7 @@ void TextIterator::initialize(const Position& start, const Position& end)
if (!m_node)
return;
- m_node->document().updateLayoutIgnorePendingStylesheets();
+ m_node->document().updateLayout();
setUpFullyClippedStack(m_fullyClippedStack, m_node);
m_offset = m_node == m_startContainer ? m_startOffset : 0;

Powered by Google App Engine
This is Rietveld 408576698