Index: ui/views/widget/desktop_aura/desktop_screen_position_client.cc |
diff --git a/ui/views/widget/desktop_aura/desktop_screen_position_client.cc b/ui/views/widget/desktop_aura/desktop_screen_position_client.cc |
index a16b24b6427a4df6117800a964b332c3e4df7334..9041799b160542d7b38f99b360da0998eac489d2 100644 |
--- a/ui/views/widget/desktop_aura/desktop_screen_position_client.cc |
+++ b/ui/views/widget/desktop_aura/desktop_screen_position_client.cc |
@@ -27,8 +27,8 @@ gfx::Point GetOrigin(const aura::Window* root_window) { |
// Returns true if bounds passed to window are treated as though they are in |
// screen coordinates. |
bool PositionWindowInScreenCoordinates(aura::Window* window) { |
- if (window->type() == aura::client::WINDOW_TYPE_POPUP || |
- window->type() == aura::client::WINDOW_TYPE_TOOLTIP) |
+ if (window->type() == ui::wm::WINDOW_TYPE_POPUP || |
+ window->type() == ui::wm::WINDOW_TYPE_TOOLTIP) |
return true; |
Widget* widget = Widget::GetWidgetForNativeView(window); |