Index: chrome/browser/ui/views/tabs/tab_drag_controller.cc |
diff --git a/chrome/browser/ui/views/tabs/tab_drag_controller.cc b/chrome/browser/ui/views/tabs/tab_drag_controller.cc |
index bafa1bfd59b7042431bc88b5de5da4d2b121c98e..0215b20f7371b23104f60ed786a33686206f9de5 100644 |
--- a/chrome/browser/ui/views/tabs/tab_drag_controller.cc |
+++ b/chrome/browser/ui/views/tabs/tab_drag_controller.cc |
@@ -1871,7 +1871,7 @@ Browser* TabDragController::CreateBrowserForDrag( |
Browser* browser = Browser::Create(drag_data_[0].contents->profile()); |
gfx::Point center(0, source->height() / 2); |
views::View::ConvertPointToWidget(source, ¢er); |
- gfx::Rect new_bounds(source->GetWidget()->GetWindowScreenBounds()); |
+ gfx::Rect new_bounds(source->GetWidget()->GetWindowBoundsInScreen()); |
new_bounds.set_y(screen_point.y() - center.y()); |
switch (GetDetachPosition(screen_point)) { |
case DETACH_BEFORE: |