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

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

Issue 2945213004: [LayoutNG] Float behavior simplification before larger patch. (Closed)
Patch Set: update test expectations. Created 3 years, 6 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 0a32b6feb835d5382d3dc367b994b1be3fd6c6f5..98c7faf3e9f14fb9be999c17f333895dd3da6a9b 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
@@ -23,13 +23,15 @@ ComputeInlineSizeForUnpositionedFloat(NGConstraintSpace* parent_space,
// Positions {@code unpositioned_float} into {@code new_parent_space}.
// @returns A positioned float.
CORE_EXPORT NGPositionedFloat
-PositionFloat(NGUnpositionedFloat*, NGConstraintSpace* new_parent_space);
+PositionFloat(LayoutUnit origin_block_offset,
+ LayoutUnit parent_bfc_block_offset,
+ NGUnpositionedFloat*,
+ NGConstraintSpace* new_parent_space);
// Positions the list of {@code unpositioned_floats}. Adds them as exclusions to
// {@code space}.
CORE_EXPORT const Vector<NGPositionedFloat> PositionFloats(
LayoutUnit origin_block_offset,
- LayoutUnit from_block_offset,
LayoutUnit container_block_offset,
const Vector<RefPtr<NGUnpositionedFloat>>& unpositioned_floats,
NGConstraintSpace* space);

Powered by Google App Engine
This is Rietveld 408576698