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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutListItem.cpp

Issue 2473743003: Call Element::rebuildLayoutTree from Document::updateStyle directly (Closed)
Patch Set: Commit the renames Created 4 years, 1 month 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: third_party/WebKit/Source/core/layout/LayoutListItem.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutListItem.cpp b/third_party/WebKit/Source/core/layout/LayoutListItem.cpp
index 82abb454cd4ba83c1cc83f38cdfaa0e1ae8c8a4d..fa10388606754c3a2d337694542146975f6b9f4a 100644
--- a/third_party/WebKit/Source/core/layout/LayoutListItem.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutListItem.cpp
@@ -535,7 +535,7 @@ void LayoutListItem::updateListMarkerNumbers() {
// Avoid an O(n^2) walk over the children below when they're all known to be
// attaching.
- if (listNode->needsAttach())
+ if (listNode->needsReattachLayoutTree())
return;
for (LayoutListItem* item =

Powered by Google App Engine
This is Rietveld 408576698