Index: ash/wm/toplevel_window_event_filter_unittest.cc |
diff --git a/ash/wm/toplevel_window_event_filter_unittest.cc b/ash/wm/toplevel_window_event_filter_unittest.cc |
index 7683b3a43b3db6acdd68ada16ac8be46362534ae..ca9aeeb2afbba707022e24a49ec3f2c6d53de0b0 100644 |
--- a/ash/wm/toplevel_window_event_filter_unittest.cc |
+++ b/ash/wm/toplevel_window_event_filter_unittest.cc |
@@ -477,7 +477,7 @@ TEST_F(ToplevelWindowEventFilterTest, GestureDrag) { |
old_bounds = target->bounds(); |
// Snap left. |
- end = location = target->GetRootWindowBounds().CenterPoint(); |
+ end = location = target->GetBoundsInRootWindow().CenterPoint(); |
end.Offset(-100, 0); |
generator.GestureScrollSequence(location, end, |
base::TimeDelta::FromMilliseconds(5), |
@@ -493,7 +493,7 @@ TEST_F(ToplevelWindowEventFilterTest, GestureDrag) { |
old_bounds = target->bounds(); |
// Maximize. |
- end = location = target->GetRootWindowBounds().CenterPoint(); |
+ end = location = target->GetBoundsInRootWindow().CenterPoint(); |
end.Offset(0, -100); |
generator.GestureScrollSequence(location, end, |
base::TimeDelta::FromMilliseconds(5), |
@@ -506,7 +506,7 @@ TEST_F(ToplevelWindowEventFilterTest, GestureDrag) { |
target->SetBounds(old_bounds); |
// Minimize. |
- end = location = target->GetRootWindowBounds().CenterPoint(); |
+ end = location = target->GetBoundsInRootWindow().CenterPoint(); |
end.Offset(0, 100); |
generator.GestureScrollSequence(location, end, |
base::TimeDelta::FromMilliseconds(5), |