Index: ash/drag_drop/drag_drop_controller_unittest.cc |
diff --git a/ash/drag_drop/drag_drop_controller_unittest.cc b/ash/drag_drop/drag_drop_controller_unittest.cc |
index 890a3a2195c5012af588300b2bbea06b99901ad4..f4849682c1f7b1324b630991895f913bdc63257e 100644 |
--- a/ash/drag_drop/drag_drop_controller_unittest.cc |
+++ b/ash/drag_drop/drag_drop_controller_unittest.cc |
@@ -388,8 +388,8 @@ TEST_F(DragDropControllerTest, DragDropInMultipleViewsMultipleWidgetsTest) { |
scoped_ptr<views::Widget> widget2(CreateNewWidget()); |
DragTestView* drag_view2 = new DragTestView; |
AddViewToWidgetAndResize(widget2.get(), drag_view2); |
- gfx::Rect widget1_bounds = widget1->GetClientAreaScreenBounds(); |
- gfx::Rect widget2_bounds = widget2->GetClientAreaScreenBounds(); |
+ gfx::Rect widget1_bounds = widget1->GetClientAreaBoundsInScreen(); |
+ gfx::Rect widget2_bounds = widget2->GetClientAreaBoundsInScreen(); |
widget2->SetBounds(gfx::Rect(widget1_bounds.width(), 0, |
widget2_bounds.width(), widget2_bounds.height())); |