| Index: third_party/WebKit/Source/core/layout/TextAutosizer.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/TextAutosizer.cpp b/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
|
| index a1477fcf3495f3c8524730ad2c98e2bb4d15353a..19a25dd37b6a730202663c035626ad4fef3411aa 100644
|
| --- a/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/TextAutosizer.cpp
|
| @@ -398,8 +398,6 @@ void TextAutosizer::inflateAutoTable(LayoutTable* table)
|
| if (!cell->needsLayout())
|
| continue;
|
|
|
| - // TODO(kojii): Callers should pass SubtreeLayoutScope to give
|
| - // to beginLayout/inflate.
|
| beginLayout(cell, nullptr);
|
| inflate(cell, nullptr, DescendToInnerBlocks);
|
| endLayout(cell);
|
| @@ -993,8 +991,6 @@ void TextAutosizer::applyMultiplier(LayoutObject* layoutObject, float multiplier
|
| m_stylesRetainedDuringLayout.append(¤tStyle);
|
|
|
| layoutObject->setStyleInternal(style.release());
|
| - // TODO(kojii): layouter should not be nullptr once all callers are
|
| - // fixed to pass SubtreeLayoutScope.
|
| DCHECK(!layouter || layoutObject->isDescendantOf(&layouter->root()));
|
| layoutObject->setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReason::TextAutosizing, MarkContainerChainInLayout, layouter);
|
| break;
|
|
|