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

Unified Diff: content/browser/renderer_host/dip_util.cc

Issue 10540123: Rename gfx::Screen::GetMonitorXXXX to gfx::Screen::GetDisplayXXX. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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: content/browser/renderer_host/dip_util.cc
diff --git a/content/browser/renderer_host/dip_util.cc b/content/browser/renderer_host/dip_util.cc
index 4d6fd24406fbd81934842af2e96033987a817440..36ee0947d3aa3e75acb92e27a92ca2e5a25a544a 100644
--- a/content/browser/renderer_host/dip_util.cc
+++ b/content/browser/renderer_host/dip_util.cc
@@ -15,7 +15,7 @@ namespace content {
float GetDIPScaleFactor(const RenderWidgetHostView* view) {
if (gfx::Screen::IsDIPEnabled()) {
- gfx::Display display = gfx::Screen::GetMonitorNearestWindow(
+ gfx::Display display = gfx::Screen::GetDisplayNearestWindow(
view ? view->GetNativeView() : NULL);
return display.device_scale_factor();
}
« no previous file with comments | « chrome/browser/ui/window_sizer_gtk.cc ('k') | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698