Index: chrome/browser/ui/views/tabs/tab_strip.cc |
diff --git a/chrome/browser/ui/views/tabs/tab_strip.cc b/chrome/browser/ui/views/tabs/tab_strip.cc |
index 835fe9caf286cbaf5e5466ad8e2f3e37d156f4ae..ef6b211231cd1137bbe9402c3f7c3d5bc0b730d9 100644 |
--- a/chrome/browser/ui/views/tabs/tab_strip.cc |
+++ b/chrome/browser/ui/views/tabs/tab_strip.cc |
@@ -73,7 +73,7 @@ |
#include "ui/views/window/non_client_view.h" |
#if defined(OS_WIN) |
-#include "ui/gfx/win/dpi.h" |
+#include "ui/gfx/screen_win.h" |
#include "ui/gfx/win/hwnd_util.h" |
#include "ui/views/widget/monitor_win.h" |
#include "ui/views/win/hwnd_util.h" |
@@ -350,7 +350,7 @@ void NewTabButton::OnMouseReleased(const ui::MouseEvent& event) { |
if (event.IsOnlyRightMouseButton()) { |
gfx::Point point = event.location(); |
views::View::ConvertPointToScreen(this, &point); |
- point = gfx::win::DIPToScreenPoint(point); |
+ point = gfx::ScreenWin::DIPToScreenPoint(point); |
bool destroyed = false; |
destroyed_ = &destroyed; |
gfx::ShowSystemMenuAtPoint(views::HWNDForView(this), point); |