| Index: Source/web/tests/WebFrameTest.cpp
|
| diff --git a/Source/web/tests/WebFrameTest.cpp b/Source/web/tests/WebFrameTest.cpp
|
| index 9e24b00bfe4bd30120209c7312d0f8aeb696e95a..977e4b9f8b6ccc930c5d1bf51d23e518e54769cc 100644
|
| --- a/Source/web/tests/WebFrameTest.cpp
|
| +++ b/Source/web/tests/WebFrameTest.cpp
|
| @@ -3191,7 +3191,7 @@ TEST_F(WebFrameTest, FindOnDetachedFrame)
|
| WebFindOptions options;
|
| WebString searchText = WebString::fromUTF8(kFindString);
|
| WebFrameImpl* mainFrame = toWebFrameImpl(webViewHelper.webView()->mainFrame());
|
| - WebFrameImpl* secondFrame = toWebFrameImpl(mainFrame->traverseNext(false));
|
| + RefPtr<WebFrameImpl> secondFrame = toWebFrameImpl(mainFrame->traverseNext(false));
|
| RefPtr<WebCore::Frame> holdSecondFrame = secondFrame->frame();
|
|
|
| // Detach the frame before finding.
|
|
|