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

Unified Diff: third_party/WebKit/Source/core/layout/line/LineBoxList.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/line/LineBoxList.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/LineBoxList.cpp b/third_party/WebKit/Source/core/layout/line/LineBoxList.cpp
index 7938afb2dd6040150e4b243f33613013fa9d8203..dd466342f564d929f504c6d60c9d0d6263f7a337 100644
--- a/third_party/WebKit/Source/core/layout/line/LineBoxList.cpp
+++ b/third_party/WebKit/Source/core/layout/line/LineBoxList.cpp
@@ -265,7 +265,7 @@ void LineBoxList::dirtyLinesFromChangedChild(LineLayoutItem container,
// If we are attaching children dirtying lines is unnecessary as we will do a
// full layout of the inline's contents anyway.
if (inlineContainer && inlineContainer.node() &&
- inlineContainer.node()->needsAttach())
+ inlineContainer.node()->needsReattachLayoutTree())
return;
InlineBox* firstBox = inlineContainer

Powered by Google App Engine
This is Rietveld 408576698