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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_floats_utils.h

Issue 2816933003: Use Layout Opportunity Iterator to position new FC blocks. (Closed)
Patch Set: fix block-formatting-contexts-{005|007} Created 3 years, 8 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/ng/ng_floats_utils.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_floats_utils.h b/third_party/WebKit/Source/core/layout/ng/ng_floats_utils.h
index 985b8b5baf9475962006bc2dc98d5d9a33f9957e..449b6c56915a51e996d891f51193fe5233c862e5 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_floats_utils.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_floats_utils.h
@@ -17,11 +17,11 @@ namespace blink {
CORE_EXPORT NGLogicalOffset PositionFloat(NGFloatingObject*,
NGConstraintSpace* new_parent_space);
-// Positions pending floats stored on the fragment builder starting from
-// {@code origin_block_offset}.
-void PositionPendingFloats(const LayoutUnit& origin_block_offset,
- NGConstraintSpace* space,
- NGFragmentBuilder* builder);
+// Positions the list of floats by updating their {@code logical_offset}.
+void PositionFloats(LayoutUnit origin_block_offset,
+ LayoutUnit from_block_offset,
+ const Vector<RefPtr<NGFloatingObject>>&,
+ NGConstraintSpace*);
} // namespace blink
#endif // NGFloatsUtils_h

Powered by Google App Engine
This is Rietveld 408576698