Index: ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc |
diff --git a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc |
index bcd8f86ca36277753894bd15288d2be27c803a4c..a9e6978eb37b97b1fc201c6fe1d68d72f0f5c07a 100644 |
--- a/ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc |
+++ b/ui/views/widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc |
@@ -266,7 +266,7 @@ TEST_F(DesktopWindowTreeHostX11Test, Shape) { |
// xvfb does not support Xrandr so we cannot check the maximized window's |
// bounds. |
gfx::Rect maximized_bounds; |
- ui::GetWindowRect(xid1, &maximized_bounds); |
+ ui::GetOuterWindowBounds(xid1, &maximized_bounds); |
shape_rects = GetShapeRects(xid1); |
ASSERT_FALSE(shape_rects.empty()); |