| Index: content/browser/web_contents/web_contents_impl_unittest.cc
|
| diff --git a/content/browser/web_contents/web_contents_impl_unittest.cc b/content/browser/web_contents/web_contents_impl_unittest.cc
|
| index ba1a8f00734c0f34eb5ead8f5146a8ae860aa2e3..c976751bfcf2e2c28c6ad8acdb5449181908c0ae 100644
|
| --- a/content/browser/web_contents/web_contents_impl_unittest.cc
|
| +++ b/content/browser/web_contents/web_contents_impl_unittest.cc
|
| @@ -159,17 +159,17 @@ class TestInterstitialPage : public InterstitialPageImpl {
|
| void TestDidNavigate(int page_id, const GURL& url) {
|
| FrameHostMsg_DidCommitProvisionalLoad_Params params;
|
| InitNavigateParams(¶ms, page_id, url, ui::PAGE_TRANSITION_TYPED);
|
| - DidNavigate(GetRenderViewHostForTesting(), params);
|
| + DidNavigate(GetRenderViewHost(), params);
|
| }
|
|
|
| void TestRenderViewTerminated(base::TerminationStatus status,
|
| int error_code) {
|
| - RenderViewTerminated(GetRenderViewHostForTesting(), status, error_code);
|
| + RenderViewTerminated(GetRenderViewHost(), status, error_code);
|
| }
|
|
|
| bool is_showing() const {
|
| return static_cast<TestRenderWidgetHostView*>(
|
| - GetRenderViewHostForTesting()->GetView())->is_showing();
|
| + GetRenderViewHost()->GetView())->is_showing();
|
| }
|
|
|
| void ClearStates() {
|
| @@ -1903,8 +1903,8 @@ TEST_F(WebContentsImplTest, ShowInterstitialThenCloseAndShutdown) {
|
| TestInterstitialPageStateGuard state_guard(interstitial);
|
| interstitial->Show();
|
| interstitial->TestDidNavigate(1, url);
|
| - RenderViewHostImpl* rvh = static_cast<RenderViewHostImpl*>(
|
| - interstitial->GetRenderViewHostForTesting());
|
| + RenderViewHostImpl* rvh =
|
| + static_cast<RenderViewHostImpl*>(interstitial->GetRenderViewHost());
|
|
|
| // Now close the contents.
|
| DeleteContents();
|
|
|