summaryrefslogtreecommitdiffstats
path: root/chrome/views/window_delegate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/views/window_delegate.cc')
-rw-r--r--chrome/views/window_delegate.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/views/window_delegate.cc b/chrome/views/window_delegate.cc
index 7ce676e..381ea14 100644
--- a/chrome/views/window_delegate.cc
+++ b/chrome/views/window_delegate.cc
@@ -57,7 +57,7 @@ bool WindowDelegate::GetSavedWindowBounds(gfx::Rect* bounds) const {
!dictionary->GetInteger(L"bottom", &bottom))
return false;
- bounds->SetRect(left, top, right, bottom);
+ bounds->SetRect(left, top, right - left, bottom - top);
return true;
}