Index: ui/base/win/hwnd_subclass.cc |
diff --git a/ui/base/win/hwnd_subclass.cc b/ui/base/win/hwnd_subclass.cc |
index cd557fa8c982f0c5b1dc83672f0d7141dd8acb99..34e2bf4fad6ecb14c0d96dc6637b15e27c5e70d9 100644 |
--- a/ui/base/win/hwnd_subclass.cc |
+++ b/ui/base/win/hwnd_subclass.cc |
@@ -9,8 +9,8 @@ |
#include "base/logging.h" |
#include "base/memory/scoped_vector.h" |
#include "base/memory/singleton.h" |
-#include "ui/base/win/hwnd_util.h" |
-#include "ui/gfx/dpi_win.h" |
+#include "ui/gfx/win/dpi.h" |
+#include "ui/gfx/win/hwnd_util.h" |
namespace { |
const char kHWNDSubclassKey[] = "__UI_BASE_WIN_HWND_SUBCLASS_PROC__"; |
@@ -123,7 +123,7 @@ HWNDSubclass::HWNDSubclass(HWND target) |
: target_(target), |
original_wnd_proc_(GetCurrentWndProc(target)), |
prop_(target, kHWNDSubclassKey, this) { |
- ui::SetWindowProc(target_, &WndProc); |
+ gfx::SetWindowProc(target_, &WndProc); |
} |
HWNDSubclass::~HWNDSubclass() { |