Index: chrome/browser/site_per_process_interactive_browsertest.cc |
diff --git a/chrome/browser/site_per_process_interactive_browsertest.cc b/chrome/browser/site_per_process_interactive_browsertest.cc |
index 7481c0d8042ad5bce4c71e8a289d8025ffa5efc7..4e074f8b423b79a1e42ae340666e1031ccf4d64d 100644 |
--- a/chrome/browser/site_per_process_interactive_browsertest.cc |
+++ b/chrome/browser/site_per_process_interactive_browsertest.cc |
@@ -53,7 +53,7 @@ class SitePerProcessInteractiveBrowserTest : public InProcessBrowserTest { |
content::WebContents* web_contents = |
browser()->tab_strip_model()->GetActiveWebContents(); |
const display::Display display = |
- display::Screen::GetScreen()->GetDisplayNearestWindow( |
+ display::Screen::GetScreen()->GetDisplayNearestView( |
web_contents->GetRenderWidgetHostView()->GetNativeView()); |
return display.bounds().size(); |
} |