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

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

Issue 2863093004: 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 540dbd3c8de5a9112a7b7c59384ef6b698f2e479..21c9b90bce98fba8b92a1d45131c527aaabb792d 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
@@ -3131,7 +3131,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
@@ -3169,6 +3168,7 @@ void LayoutBlockFlow::MoveAllChildrenIncludingFloatsTo(
to_block_flow->floating_objects_->Add(floating_object.UnsafeClone());
}
}
+ MoveAllChildrenTo(to_block_flow, full_remove_insert);
rhogan 2017/05/05 19:04:07 If full_remove_insert is true, the object's floatl
}
void LayoutBlockFlow::ChildBecameFloatingOrOutOfFlow(LayoutBox* child) {

Powered by Google App Engine
This is Rietveld 408576698