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

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

Issue 2668183003: [LayoutNG] Make NG algorithms non-oilpan. (Closed)
Patch Set: fix win compile 2? Created 3 years, 11 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_layout_algorithm.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc
index f7e50974feb37ecd66b448e51343c3a889923e57..80c877909c1f43faad520520ecb33c2e8f2a44a0 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc
@@ -260,8 +260,7 @@ NGBlockLayoutAlgorithm::NGBlockLayoutAlgorithm(
NGBlockNode* first_child,
NGConstraintSpace* constraint_space,
NGBreakToken* break_token)
- : NGLayoutAlgorithm(kBlockLayoutAlgorithm),
- style_(style),
+ : style_(style),
first_child_(first_child),
constraint_space_(constraint_space),
break_token_(break_token),
@@ -719,16 +718,4 @@ NGBlockLayoutAlgorithm::CreateConstraintSpaceForCurrentChild() {
return space_builder_->ToConstraintSpace();
}
-DEFINE_TRACE(NGBlockLayoutAlgorithm) {
- NGLayoutAlgorithm::trace(visitor);
- visitor->trace(first_child_);
- visitor->trace(constraint_space_);
- visitor->trace(break_token_);
- visitor->trace(builder_);
- visitor->trace(space_builder_);
- visitor->trace(space_for_current_child_);
- visitor->trace(current_child_);
- visitor->trace(fragmentainer_mapper_);
-}
-
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698