Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Unified Diff: chrome/browser/site_per_process_interactive_browsertest.cc

Issue 2751833004: Reland "Add display::GetDisplayNearestView" (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}
« no previous file with comments | « chrome/browser/chromeos/display/output_protection_delegate.cc ('k') | chrome/browser/ui/views/chrome_views_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698