summaryrefslogtreecommitdiffstats
path: root/ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc')
-rw-r--r--ui/views/widget/desktop_aura/desktop_window_tree_host_x11.cc4
1 files changed, 2 insertions, 2 deletions
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 664321c..e3f1179 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 (wm::GetTransientParent(content_window_)) {
+ if (corewm::GetTransientParent(content_window_)) {
gfx::Rect transient_parent_rect =
- wm::GetTransientParent(content_window_)->GetBoundsInScreen();
+ corewm::GetTransientParent(content_window_)->GetBoundsInScreen();
if (transient_parent_rect.height() >= size.height() &&
transient_parent_rect.width() >= size.width()) {
parent_bounds = transient_parent_rect;