| Index: chrome/browser/browser_focus_uitest.cc
|
| diff --git a/chrome/browser/browser_focus_uitest.cc b/chrome/browser/browser_focus_uitest.cc
|
| index 42b20ffad831556b79bb54db74ecdf53e7fb064e..9d68a7b600822975c58acbff2afb86fc3d5fca98 100644
|
| --- a/chrome/browser/browser_focus_uitest.cc
|
| +++ b/chrome/browser/browser_focus_uitest.cc
|
| @@ -212,7 +212,7 @@ class TestInterstitialPage : public content::InterstitialPageDelegate {
|
| }
|
|
|
| bool HasFocus() {
|
| - return render_view_host()->view()->HasFocus();
|
| + return render_view_host()->GetView()->HasFocus();
|
| }
|
|
|
| private:
|
| @@ -742,8 +742,8 @@ IN_PROC_BROWSER_TEST_F(BrowserFocusTest, InterstitialFocus) {
|
|
|
| // Page should have focus.
|
| ASSERT_TRUE(IsViewFocused(VIEW_ID_TAB_CONTAINER_FOCUS_VIEW));
|
| - EXPECT_TRUE(browser()->GetSelectedWebContents()->GetRenderViewHost()->view()->
|
| - HasFocus());
|
| + EXPECT_TRUE(browser()->GetSelectedWebContents()->GetRenderViewHost()->
|
| + GetView()->HasFocus());
|
|
|
| // Let's show an interstitial.
|
| TestInterstitialPage* interstitial_page =
|
|
|