Index: third_party/WebKit/Source/web/WebElementTest.cpp |
diff --git a/third_party/WebKit/Source/web/WebElementTest.cpp b/third_party/WebKit/Source/web/WebElementTest.cpp |
index ea3542ddede3a647f361c5d05e471b80570fe4b0..9bdae0fce786e2873be7a9fab4f24ab25415afa2 100644 |
--- a/third_party/WebKit/Source/web/WebElementTest.cpp |
+++ b/third_party/WebKit/Source/web/WebElementTest.cpp |
@@ -116,7 +116,7 @@ TEST_F(WebElementTest, HasNonEmptyLayoutSize) |
EXPECT_TRUE(testElement().hasNonEmptyLayoutSize()); |
insertHTML(s_emptyBlock); |
- RefPtrWillBeRawPtr<ShadowRoot> root = document().getElementById("testElement")->createShadowRootInternal(ShadowRootType::OpenByDefault, ASSERT_NO_EXCEPTION); |
+ RefPtrWillBeRawPtr<ShadowRoot> root = document().getElementById("testElement")->createShadowRootInternal(ShadowRootType::V0, ASSERT_NO_EXCEPTION); |
root->setInnerHTML("<div>Hello World</div>", ASSERT_NO_EXCEPTION); |
EXPECT_TRUE(testElement().hasNonEmptyLayoutSize()); |
} |