| Index: Source/web/tests/TextFinderTest.cpp
|
| diff --git a/Source/web/tests/TextFinderTest.cpp b/Source/web/tests/TextFinderTest.cpp
|
| index c19649efcc9561718409dc4c01add8b864c8885e..f1084a00eedc58264c57ea7e266accda372c0789 100644
|
| --- a/Source/web/tests/TextFinderTest.cpp
|
| +++ b/Source/web/tests/TextFinderTest.cpp
|
| @@ -34,7 +34,7 @@ protected:
|
|
|
| private:
|
| FrameTestHelpers::WebViewHelper m_webViewHelper;
|
| - RefPtr<Document> m_document;
|
| + RefPtrWillBePersistent<Document> m_document;
|
| TextFinder* m_textFinder;
|
| };
|
|
|
| @@ -43,7 +43,7 @@ void TextFinderTest::SetUp()
|
| m_webViewHelper.initialize();
|
| WebLocalFrameImpl& frameImpl = *m_webViewHelper.webViewImpl()->mainFrameImpl();
|
| frameImpl.viewImpl()->resize(WebSize(640, 480));
|
| - m_document = PassRefPtr<Document>(frameImpl.document());
|
| + m_document = PassRefPtrWillBeRawPtr<Document>(frameImpl.document());
|
| m_textFinder = &frameImpl.ensureTextFinder();
|
| }
|
|
|
|
|