summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/layout/layout_table_cell_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/layout/layout_table_cell_test.cc')
-rw-r--r--chromium/third_party/blink/renderer/core/layout/layout_table_cell_test.cc12
1 files changed, 8 insertions, 4 deletions
diff --git a/chromium/third_party/blink/renderer/core/layout/layout_table_cell_test.cc b/chromium/third_party/blink/renderer/core/layout/layout_table_cell_test.cc
index 77c67634079..0826849fc2e 100644
--- a/chromium/third_party/blink/renderer/core/layout/layout_table_cell_test.cc
+++ b/chromium/third_party/blink/renderer/core/layout/layout_table_cell_test.cc
@@ -336,22 +336,26 @@ TEST_F(LayoutTableCellTest, HasNonCollapsedBorderDecoration) {
To<Element>(cell->GetNode())
->setAttribute(html_names::kStyleAttr, "border: 1px solid black");
- GetDocument().View()->UpdateAllLifecyclePhasesExceptPaint();
+ GetDocument().View()->UpdateAllLifecyclePhasesExceptPaint(
+ DocumentUpdateReason::kTest);
EXPECT_TRUE(cell->HasNonCollapsedBorderDecoration());
To<Element>(cell->Table()->GetNode())
->setAttribute(html_names::kStyleAttr, "border-collapse: collapse");
- GetDocument().View()->UpdateAllLifecyclePhasesExceptPaint();
+ GetDocument().View()->UpdateAllLifecyclePhasesExceptPaint(
+ DocumentUpdateReason::kTest);
EXPECT_FALSE(cell->HasNonCollapsedBorderDecoration());
To<Element>(cell->GetNode())
->setAttribute(html_names::kStyleAttr, "border: 2px solid black");
- GetDocument().View()->UpdateAllLifecyclePhasesExceptPaint();
+ GetDocument().View()->UpdateAllLifecyclePhasesExceptPaint(
+ DocumentUpdateReason::kTest);
EXPECT_FALSE(cell->HasNonCollapsedBorderDecoration());
To<Element>(cell->Table()->GetNode())
->setAttribute(html_names::kStyleAttr, "");
- GetDocument().View()->UpdateAllLifecyclePhasesExceptPaint();
+ GetDocument().View()->UpdateAllLifecyclePhasesExceptPaint(
+ DocumentUpdateReason::kTest);
EXPECT_TRUE(cell->HasNonCollapsedBorderDecoration());
}