Index: content/browser/renderer_host/legacy_render_widget_host_win.cc |
diff --git a/content/browser/renderer_host/legacy_render_widget_host_win.cc b/content/browser/renderer_host/legacy_render_widget_host_win.cc |
index 327e0b9b43e73df9a7280366ecd5d05eed899ba2..af2ccfa2b390f751224628e2d24508a2a6ad9563 100644 |
--- a/content/browser/renderer_host/legacy_render_widget_host_win.cc |
+++ b/content/browser/renderer_host/legacy_render_widget_host_win.cc |
@@ -17,8 +17,8 @@ |
#include "ui/base/view_prop.h" |
#include "ui/base/win/internal_constants.h" |
#include "ui/base/win/window_event_target.h" |
+#include "ui/gfx/dpi.h" |
#include "ui/gfx/geometry/rect.h" |
-#include "ui/gfx/win/dpi.h" |
namespace content { |
@@ -80,7 +80,7 @@ void LegacyRenderWidgetHostHWND::Hide() { |
} |
void LegacyRenderWidgetHostHWND::SetBounds(const gfx::Rect& bounds) { |
- gfx::Rect bounds_in_pixel = gfx::win::DIPToScreenRect(bounds); |
+ gfx::Rect bounds_in_pixel = gfx::DIPToScreenRect(bounds); |
::SetWindowPos(hwnd(), NULL, bounds_in_pixel.x(), bounds_in_pixel.y(), |
bounds_in_pixel.width(), bounds_in_pixel.height(), |
SWP_NOREDRAW); |