Index: ash/shell/panel_window.cc |
diff --git a/ash/shell/panel_window.cc b/ash/shell/panel_window.cc |
index f9150b8203b97a957540bbb63585c382939c6d44..af01520c7fab1efdc00ffcc2ea28af0cfbbcf79b 100644 |
--- a/ash/shell/panel_window.cc |
+++ b/ash/shell/panel_window.cc |
@@ -5,13 +5,13 @@ |
#include "ash/shell/panel_window.h" |
#include "ash/common/wm/panels/panel_frame_view.h" |
-#include "ash/screen_util.h" |
#include "ash/shell.h" |
#include "ash/wm/window_properties.h" |
#include "base/strings/utf_string_conversions.h" |
#include "ui/aura/window.h" |
#include "ui/gfx/canvas.h" |
#include "ui/views/widget/widget.h" |
+#include "ui/wm/core/coordinate_conversion.h" |
namespace { |
const int kMinWidth = 100; |
@@ -44,8 +44,8 @@ views::Widget* PanelWindow::CreateWidget() { |
params().bounds.set_width(kDefaultWidth); |
if (params().bounds.height() == 0) |
params().bounds.set_height(kDefaultHeight); |
- params().bounds = ScreenUtil::ConvertRectToScreen( |
- Shell::GetTargetRootWindow(), params().bounds); |
+ params().bounds = |
+ ::wm::ConvertRectToScreen(Shell::GetTargetRootWindow(), params().bounds); |
widget->Init(params()); |
widget->GetNativeView()->SetName(name_); |