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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_text_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
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.cc b/third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.cc
index 64a1c1f9b94f41f0ef03449f94fea1c089f3aa81..d3503ca885225cf3a977c83874ddde7734a9e675 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.cc
@@ -19,8 +19,7 @@ NGTextLayoutAlgorithm::NGTextLayoutAlgorithm(
NGInlineNode* inline_box,
NGConstraintSpace* constraint_space,
NGBreakToken* break_token)
- : NGLayoutAlgorithm(kTextLayoutAlgorithm),
- inline_box_(inline_box),
+ : inline_box_(inline_box),
constraint_space_(constraint_space),
break_token_(break_token) {
DCHECK(inline_box_);
@@ -68,11 +67,4 @@ void NGTextLayoutAlgorithm::LayoutInline(NGLineBuilder* line_builder) {
line_builder->CreateLine();
}
-DEFINE_TRACE(NGTextLayoutAlgorithm) {
- NGLayoutAlgorithm::trace(visitor);
- visitor->trace(inline_box_);
- visitor->trace(constraint_space_);
- visitor->trace(break_token_);
-}
-
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_text_layout_algorithm.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698