| Index: chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc
|
| diff --git a/chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc b/chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc
|
| index 2f719c00ba1adb170d4c837aaa75b408804003bf..ef2992496aef0ea0a178c2360d8de5d4300a9f83 100644
|
| --- a/chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc
|
| +++ b/chrome/browser/ui/views/apps/chrome_native_app_window_views_aura_ash.cc
|
| @@ -15,7 +15,6 @@
|
| #include "ash/common/wm/window_state_observer.h"
|
| #include "ash/common/wm_window.h"
|
| #include "ash/public/cpp/shell_window_ids.h"
|
| -#include "ash/screen_util.h"
|
| #include "ash/shared/app_types.h"
|
| #include "ash/shared/immersive_fullscreen_controller.h"
|
| #include "ash/shell.h"
|
| @@ -38,6 +37,7 @@
|
| #include "ui/views/controls/menu/menu_model_adapter.h"
|
| #include "ui/views/controls/menu/menu_runner.h"
|
| #include "ui/views/widget/widget.h"
|
| +#include "ui/wm/core/coordinate_conversion.h"
|
|
|
| using extensions::AppWindow;
|
|
|
| @@ -177,7 +177,7 @@ void ChromeNativeAppWindowViewsAuraAsh::OnBeforePanelWidgetInit(
|
| if (ash::Shell::HasInstance() && use_default_bounds) {
|
| // Open a new panel on the target root.
|
| init_params->context = ash::Shell::GetTargetRootWindow();
|
| - init_params->bounds = ash::ScreenUtil::ConvertRectToScreen(
|
| + init_params->bounds = wm::ConvertRectToScreen(
|
| ash::Shell::GetTargetRootWindow(), gfx::Rect(GetPreferredSize()));
|
| }
|
| }
|
|
|