| Index: Source/web/tests/TextFinderTest.cpp
|
| diff --git a/Source/web/tests/TextFinderTest.cpp b/Source/web/tests/TextFinderTest.cpp
|
| index f1084a00eedc58264c57ea7e266accda372c0789..a95471a154963f26b054eebb0af15e1c8526aee7 100644
|
| --- a/Source/web/tests/TextFinderTest.cpp
|
| +++ b/Source/web/tests/TextFinderTest.cpp
|
| @@ -149,7 +149,7 @@ TEST_F(TextFinderTest, FindTextNotFound)
|
| TEST_F(TextFinderTest, FindTextInShadowDOM)
|
| {
|
| document().body()->setInnerHTML("<b>FOO</b><i>foo</i>", ASSERT_NO_EXCEPTION);
|
| - RefPtr<ShadowRoot> shadowRoot = document().body()->createShadowRoot(ASSERT_NO_EXCEPTION);
|
| + RefPtrWillBeRawPtr<ShadowRoot> shadowRoot = document().body()->createShadowRoot(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();
|
| @@ -262,7 +262,7 @@ TEST_F(TextFinderTest, ScopeTextMatchesSimple)
|
| TEST_F(TextFinderTest, ScopeTextMatchesWithShadowDOM)
|
| {
|
| document().body()->setInnerHTML("<b>FOO</b><i>foo</i>", ASSERT_NO_EXCEPTION);
|
| - RefPtr<ShadowRoot> shadowRoot = document().body()->createShadowRoot(ASSERT_NO_EXCEPTION);
|
| + RefPtrWillBeRawPtr<ShadowRoot> shadowRoot = document().body()->createShadowRoot(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();
|
|
|