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

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

Issue 2876943002: Flowthread should move its floatlists to container when evacuating (Closed)
Patch Set: Created 3 years, 7 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: third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
index 9fd14255efb568cc83fcfc7da64129b8aba15919..415490e64941ff421a96d5217088af55f6576577 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
@@ -3129,7 +3129,6 @@ void LayoutBlockFlow::MoveAllChildrenIncludingFloatsTo(
LayoutBlock* to_block,
bool full_remove_insert) {
LayoutBlockFlow* to_block_flow = ToLayoutBlockFlow(to_block);
- MoveAllChildrenTo(to_block_flow, full_remove_insert);
// When a portion of the layout tree is being detached, anonymous blocks
// will be combined as their children are deleted. In this process, the
@@ -3167,6 +3166,7 @@ void LayoutBlockFlow::MoveAllChildrenIncludingFloatsTo(
to_block_flow->floating_objects_->Add(floating_object.UnsafeClone());
}
}
+ MoveAllChildrenTo(to_block_flow, full_remove_insert);
}
void LayoutBlockFlow::ChildBecameFloatingOrOutOfFlow(LayoutBox* child) {

Powered by Google App Engine
This is Rietveld 408576698