summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/layout/ng/table/layout_ng_table_cell.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/layout/ng/table/layout_ng_table_cell.cc')
-rw-r--r--chromium/third_party/blink/renderer/core/layout/ng/table/layout_ng_table_cell.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/core/layout/ng/table/layout_ng_table_cell.cc b/chromium/third_party/blink/renderer/core/layout/ng/table/layout_ng_table_cell.cc
index 8f501b93c79..cca5eb8198d 100644
--- a/chromium/third_party/blink/renderer/core/layout/ng/table/layout_ng_table_cell.cc
+++ b/chromium/third_party/blink/renderer/core/layout/ng/table/layout_ng_table_cell.cc
@@ -37,6 +37,11 @@ void LayoutNGTableCell::ColSpanOrRowSpanChanged() {
UpdateColAndRowSpanFlags();
}
+LayoutBox* LayoutNGTableCell::CreateAnonymousBoxWithSameTypeAs(
+ const LayoutObject* parent) const {
+ return LayoutObjectFactory::CreateAnonymousTableCellWithParent(*parent);
+}
+
Length LayoutNGTableCell::StyleOrColLogicalWidth() const {
// TODO(atotic) TablesNG cannot easily get col width before layout.
return StyleRef().LogicalWidth();