| 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 ec6a20397700fad74786182643af320bd6c200b9..ab37fecc93bdd4b124e68615ef51c9937c414861 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
|
| @@ -9,7 +9,6 @@
|
| #include "core/layout/ng/ng_constraint_space.h"
|
| #include "core/layout/ng/ng_fragment_builder.h"
|
| #include "core/layout/ng/ng_inline_node.h"
|
| -#include "core/layout/ng/ng_layout_opportunity_iterator.h"
|
| #include "core/layout/ng/ng_line_builder.h"
|
| #include "core/layout/ng/ng_text_fragment.h"
|
| #include "core/style/ComputedStyle.h"
|
| @@ -73,8 +72,6 @@
|
|
|
| // If there are more available spaces, mark the break opportunity and fetch
|
| // more text.
|
| - // TODO(layout-ng): check if the height of the linebox can fit within
|
| - // the current opportunity.
|
| if (line_builder->CanFitOnLine()) {
|
| line_builder->SetBreakOpportunity();
|
| continue;
|
|
|