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

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

Issue 659883002: Enable hidpi on Linux, refactor a bit on Windows to share Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resource bundle loading Created 6 years, 2 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/render_widget_host_view_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index 774920e96163b804af49d191c86664d33071763a..d5c17b6de8e164c79c80a455610449a9bf25f452 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -69,6 +69,7 @@
#include "ui/events/gestures/gesture_recognizer.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/display.h"
+#include "ui/gfx/dpi.h"
#include "ui/gfx/rect_conversions.h"
#include "ui/gfx/screen.h"
#include "ui/gfx/size_conversions.h"
@@ -86,7 +87,6 @@
#include "content/common/plugin_constants_win.h"
#include "ui/base/win/hidden_window.h"
#include "ui/gfx/gdi_util.h"
-#include "ui/gfx/win/dpi.h"
#endif
#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
@@ -1104,7 +1104,7 @@ gfx::Rect RenderWidgetHostViewAura::GetBoundsInRootWindow() {
}
}
- bounds = gfx::win::ScreenToDIPRect(bounds);
+ bounds = gfx::ScreenToDIPRect(bounds);
#endif
return bounds;

Powered by Google App Engine
This is Rietveld 408576698