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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_inline_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_inline_layout_algorithm.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.cc b/third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.cc
index a6cd5302cecc2ab2254bef05cb0da662879cfbdc..e308c50c47badf1c7b760b207758e4ce61c39be2 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_inline_layout_algorithm.cc
@@ -23,8 +23,7 @@ NGInlineLayoutAlgorithm::NGInlineLayoutAlgorithm(
NGInlineNode* first_child,
NGConstraintSpace* constraint_space,
NGBreakToken* break_token)
- : NGLayoutAlgorithm(kInlineLayoutAlgorithm),
- style_(style),
+ : style_(style),
first_child_(first_child),
constraint_space_(constraint_space),
break_token_(break_token),
@@ -65,12 +64,4 @@ NGConstraintSpace* NGInlineLayoutAlgorithm::CreateConstraintSpaceForChild(
return child_space;
}
-DEFINE_TRACE(NGInlineLayoutAlgorithm) {
- NGLayoutAlgorithm::trace(visitor);
- visitor->trace(first_child_);
- visitor->trace(constraint_space_);
- visitor->trace(break_token_);
- visitor->trace(builder_);
-}
-
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698