| Index: content/browser/frame_host/render_frame_host_impl_browsertest.cc
|
| diff --git a/content/browser/frame_host/render_frame_host_impl_browsertest.cc b/content/browser/frame_host/render_frame_host_impl_browsertest.cc
|
| index 6547788162e29da908890e6a50eea3035d1c3ede..9198f8abd83dd3af59c00b42b7ccb40d62b9b2f9 100644
|
| --- a/content/browser/frame_host/render_frame_host_impl_browsertest.cc
|
| +++ b/content/browser/frame_host/render_frame_host_impl_browsertest.cc
|
| @@ -125,7 +125,8 @@ IN_PROC_BROWSER_TEST_F(RenderFrameHostImplBrowserTest, RemoveFocusedFrame) {
|
| IN_PROC_BROWSER_TEST_F(RenderFrameHostImplBrowserTest,
|
| GetVisibilityState_Basic) {
|
| EXPECT_TRUE(NavigateToURL(shell(), GURL("data:text/html,foo")));
|
| - WebContents* web_contents = shell()->web_contents();
|
| + WebContentsImpl* web_contents =
|
| + static_cast<WebContentsImpl*>(shell()->web_contents());
|
|
|
| web_contents->WasShown();
|
| EXPECT_EQ(blink::WebPageVisibilityStateVisible,
|
| @@ -140,7 +141,8 @@ IN_PROC_BROWSER_TEST_F(RenderFrameHostImplBrowserTest,
|
| IN_PROC_BROWSER_TEST_F(RenderFrameHostImplBrowserTest,
|
| GetVisibilityState_Override) {
|
| EXPECT_TRUE(NavigateToURL(shell(), GURL("data:text/html,foo")));
|
| - WebContents* web_contents = shell()->web_contents();
|
| + WebContentsImpl* web_contents =
|
| + static_cast<WebContentsImpl*>(shell()->web_contents());
|
|
|
| PrerenderTestContentBrowserClient new_client;
|
| ContentBrowserClient* old_client = SetBrowserClientForTesting(&new_client);
|
|
|