Index: ui/views/controls/menu/native_menu_win.cc |
diff --git a/ui/views/controls/menu/native_menu_win.cc b/ui/views/controls/menu/native_menu_win.cc |
index e357b1ef3e46a62753cffa383c216c588db8a216..10ff3a3d4b6425302ba9185b4ace662f345c27cc 100644 |
--- a/ui/views/controls/menu/native_menu_win.cc |
+++ b/ui/views/controls/menu/native_menu_win.cc |
@@ -17,12 +17,12 @@ |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/base/l10n/l10n_util_win.h" |
#include "ui/base/models/menu_model.h" |
-#include "ui/base/win/hwnd_util.h" |
#include "ui/gfx/canvas.h" |
#include "ui/gfx/font.h" |
#include "ui/gfx/image/image.h" |
#include "ui/gfx/image/image_skia.h" |
#include "ui/gfx/rect.h" |
+#include "ui/gfx/win/hwnd_util.h" |
#include "ui/native_theme/native_theme.h" |
#include "ui/native_theme/native_theme_win.h" |
#include "ui/views/controls/menu/menu_2.h" |
@@ -81,8 +81,8 @@ class NativeMenuWin::MenuHostWindow { |
RegisterClass(); |
hwnd_ = CreateWindowEx(l10n_util::GetExtendedStyles(), kWindowClassName, |
L"", 0, 0, 0, 0, 0, HWND_MESSAGE, NULL, NULL, NULL); |
- ui::CheckWindowCreated(hwnd_); |
- ui::SetWindowUserData(hwnd_, this); |
+ gfx::CheckWindowCreated(hwnd_); |
+ gfx::SetWindowUserData(hwnd_, this); |
} |
~MenuHostWindow() { |
@@ -350,7 +350,7 @@ class NativeMenuWin::MenuHostWindow { |
WPARAM w_param, |
LPARAM l_param) { |
MenuHostWindow* host = |
- reinterpret_cast<MenuHostWindow*>(ui::GetWindowUserData(window)); |
+ reinterpret_cast<MenuHostWindow*>(gfx::GetWindowUserData(window)); |
// host is null during initial construction. |
LRESULT l_result = 0; |
if (!host || !host->ProcessWindowMessage(window, message, w_param, l_param, |