Index: third_party/WebKit/Source/web/tests/TextFinderTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/TextFinderTest.cpp b/third_party/WebKit/Source/web/tests/TextFinderTest.cpp |
index 58ea0069d5ee034ef8b5f8222cd754c8fc911723..0630e0bcd64d56902327667ece2c158919b6dd4c 100644 |
--- a/third_party/WebKit/Source/web/tests/TextFinderTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/TextFinderTest.cpp |
@@ -188,7 +188,7 @@ TEST_F(TextFinderTest, FindTextNotFound) |
TEST_F(TextFinderTest, FindTextInShadowDOM) |
{ |
document().body()->setInnerHTML("<b>FOO</b><i>foo</i>", ASSERT_NO_EXCEPTION); |
- RefPtrWillBeRawPtr<ShadowRoot> shadowRoot = document().body()->createShadowRootInternal(ShadowRootType::OpenByDefault, ASSERT_NO_EXCEPTION); |
+ RefPtrWillBeRawPtr<ShadowRoot> shadowRoot = document().body()->createShadowRootInternal(ShadowRootType::V0, ASSERT_NO_EXCEPTION); |
shadowRoot->setInnerHTML("<content select=\"i\"></content><u>Foo</u><content></content>", ASSERT_NO_EXCEPTION); |
Node* textInBElement = document().body()->firstChild()->firstChild(); |
Node* textInIElement = document().body()->lastChild()->firstChild(); |