| Index: ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
|
| diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
|
| index e3f1179c97597cb63622c8583613ac72b87bebb7..664321cfaf3c679393738046f933a3a28d36445f 100644
|
| --- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
|
| +++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
|
| @@ -359,9 +359,9 @@ void DesktopWindowTreeHostX11::CenterWindow(const gfx::Size& size) {
|
|
|
| // If |window_|'s transient parent bounds are big enough to contain |size|,
|
| // use them instead.
|
| - if (corewm::GetTransientParent(content_window_)) {
|
| + if (wm::GetTransientParent(content_window_)) {
|
| gfx::Rect transient_parent_rect =
|
| - corewm::GetTransientParent(content_window_)->GetBoundsInScreen();
|
| + wm::GetTransientParent(content_window_)->GetBoundsInScreen();
|
| if (transient_parent_rect.height() >= size.height() &&
|
| transient_parent_rect.width() >= size.width()) {
|
| parent_bounds = transient_parent_rect;
|
|
|