summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/layout/layout_table_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/layout/layout_table_test.cc')
-rw-r--r--chromium/third_party/blink/renderer/core/layout/layout_table_test.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/core/layout/layout_table_test.cc b/chromium/third_party/blink/renderer/core/layout/layout_table_test.cc
index ff1d80f7a5b..d43c46e86b4 100644
--- a/chromium/third_party/blink/renderer/core/layout/layout_table_test.cc
+++ b/chromium/third_party/blink/renderer/core/layout/layout_table_test.cc
@@ -30,13 +30,14 @@ TEST_F(LayoutTableTest, OverflowViaOutline) {
auto* target = GetTableByElementId("target");
EXPECT_EQ(LayoutRect(0, 0, 100, 200), target->SelfVisualOverflowRect());
ToElement(target->GetNode())
- ->setAttribute(HTMLNames::styleAttr, "outline: 2px solid black");
+ ->setAttribute(html_names::kStyleAttr, "outline: 2px solid black");
auto* child = GetTableByElementId("child");
ToElement(child->GetNode())
- ->setAttribute(HTMLNames::styleAttr, "outline: 2px solid black");
+ ->setAttribute(html_names::kStyleAttr, "outline: 2px solid black");
- target->GetFrameView()->UpdateAllLifecyclePhases();
+ target->GetFrameView()->UpdateAllLifecyclePhases(
+ DocumentLifecycle::LifecycleUpdateReason::kTest);
EXPECT_EQ(LayoutRect(-2, -2, 104, 204), target->SelfVisualOverflowRect());
EXPECT_EQ(LayoutRect(-2, -2, 104, 204), child->SelfVisualOverflowRect());