summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/autofill/autofill_profiles_view_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/autofill/autofill_profiles_view_win.cc b/chrome/browser/autofill/autofill_profiles_view_win.cc
index 238368b..96a7bce 100644
--- a/chrome/browser/autofill/autofill_profiles_view_win.cc
+++ b/chrome/browser/autofill/autofill_profiles_view_win.cc
@@ -688,7 +688,7 @@ void AutoFillProfilesView::ScrollViewContents::Layout() {
if (parent && parent->width()) {
const int width = parent->width();
const int height = GetHeightForWidth(width);
- SetBounds(0, 0, width, height);
+ SetBounds(x(), y(), width, height);
} else {
gfx::Size prefsize = GetPreferredSize();
SetBounds(0, 0, prefsize.width(), prefsize.height());