| Index: trunk/src/chrome/browser/ui/views/chrome_views_delegate.cc
|
| ===================================================================
|
| --- trunk/src/chrome/browser/ui/views/chrome_views_delegate.cc (revision 213355)
|
| +++ trunk/src/chrome/browser/ui/views/chrome_views_delegate.cc (working copy)
|
| @@ -84,7 +84,7 @@
|
| window_preferences->SetBoolean("maximized",
|
| show_state == ui::SHOW_STATE_MAXIMIZED);
|
| gfx::Rect work_area(gfx::Screen::GetScreenFor(window->GetNativeView())->
|
| - GetDisplayNearestWindow(window->GetNativeView()).work_area());
|
| + GetDisplayMatching(bounds).work_area());
|
| window_preferences->SetInteger("work_area_left", work_area.x());
|
| window_preferences->SetInteger("work_area_top", work_area.y());
|
| window_preferences->SetInteger("work_area_right", work_area.right());
|
|
|