| Index: Source/web/tests/WebViewTest.cpp
|
| diff --git a/Source/web/tests/WebViewTest.cpp b/Source/web/tests/WebViewTest.cpp
|
| index 66d7847e4f680c6350df6c9bc14c57426df2ca6d..0631e7b8a676b3c6068208d389e5cc0dcb536c3a 100644
|
| --- a/Source/web/tests/WebViewTest.cpp
|
| +++ b/Source/web/tests/WebViewTest.cpp
|
| @@ -270,7 +270,7 @@ TEST_F(WebViewTest, FocusIsInactive)
|
| WebFrameImpl* frame = toWebFrameImpl(webView->mainFrame());
|
| EXPECT_TRUE(frame->frame()->document()->isHTMLDocument());
|
|
|
| - WebCore::HTMLDocument* document = static_cast<WebCore::HTMLDocument*>(frame->frame()->document());
|
| + WebCore::HTMLDocument* document = WebCore::toHTMLDocument(frame->frame()->document());
|
| EXPECT_TRUE(document->hasFocus());
|
| webView->setFocus(false);
|
| webView->setIsActive(false);
|
|
|