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

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

Issue 2856273002: Legacy block should be positioned with the respect to clearance (Closed)
Patch Set: fix comments 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_block_node.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
index 64f785b12f7dbd4f6205fdd8f32bba15cc331ad6..14c6097e3c96c2bf84bdb26e5977360ca3a6f2e4 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc
@@ -264,7 +264,7 @@ DEFINE_TRACE(NGBlockNode) {
NGLayoutInputNode::Trace(visitor);
}
-bool NGBlockNode::CanUseNewLayout() {
+bool NGBlockNode::CanUseNewLayout() const {
// [Multicol]: for the 1st phase of LayoutNG's multicol implementation we want
// to utilize the existing ColumnBalancer class. That's why a multicol block
// should be processed by Legacy Layout engine.

Powered by Google App Engine
This is Rietveld 408576698