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

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

Issue 2569263002: Legacy out-of-flow descendant propagation (Closed)
Patch Set: CR fixes, also added DCHECK instead of if guards Created 4 years 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_block_node.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_node.h b/third_party/WebKit/Source/core/layout/ng/ng_block_node.h
index 2597ff81fce46adfc48ac4a178961c6c27123a9e..55dd4a3d4fcdc0c157839b363bfc4184f9289e62 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_node.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_node.h
@@ -61,6 +61,10 @@ class CORE_EXPORT NGBlockNode final : public NGLayoutInputNode {
// geometry.
NGPhysicalFragment* RunOldLayout(const NGConstraintSpace&);
+ // Call if this out-of-flow block needs to be positioned with
+ // legacy Layout.
ikilpatrick 2016/12/13 21:57:36 .nit wording. Called if this is an out-of-flow bl
atotic 2016/12/13 22:01:01 done
atotic 2016/12/13 22:01:01 done
+ void UseOldOutOfFlowPositioning();
+
void UpdateLayoutBox(NGPhysicalFragment* fragment,
const NGConstraintSpace* constraint_space);

Powered by Google App Engine
This is Rietveld 408576698